From a9e725a2af2700c64fe2b5e9bd77fdd3d4558848 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 10 Feb 2009 11:21:16 -0600 Subject: Including type information in the creation and destruction of servers --- tests/listen-and-print.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/listen-and-print.c b/tests/listen-and-print.c index b12fd3d..3002d67 100644 --- a/tests/listen-and-print.c +++ b/tests/listen-and-print.c @@ -21,15 +21,15 @@ indicator_modified (IndicateListener * listener, IndicateListenerServer * server } static void -server_added (IndicateListener * listener, IndicateListenerServer * server, gpointer data) +server_added (IndicateListener * listener, IndicateListenerServer * server, gchar * type, gpointer data) { - g_debug("Indicator Server Added: %s", INDICATE_LISTENER_SERVER_DBUS_NAME(server)); + g_debug("Indicator Server Added: %s %s", INDICATE_LISTENER_SERVER_DBUS_NAME(server), type); } static void -server_removed (IndicateListener * listener, IndicateListenerServer * server, gpointer data) +server_removed (IndicateListener * listener, IndicateListenerServer * server, gchar * type, gpointer data) { - g_debug("Indicator Server Removed: %s", INDICATE_LISTENER_SERVER_DBUS_NAME(server)); + g_debug("Indicator Server Removed: %s %s", INDICATE_LISTENER_SERVER_DBUS_NAME(server), type); } int -- cgit v1.2.3