diff options
author | Ted Gould <ted@canonical.com> | 2009-02-10 11:21:16 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-02-10 11:21:16 -0600 |
commit | a9e725a2af2700c64fe2b5e9bd77fdd3d4558848 (patch) | |
tree | 0f3cf5f1639d42eaa1ef93b9ca6200827308284b /tests | |
parent | 42e990fe99a727db4a9e6c00a82212cc8733eef7 (diff) | |
download | libayatana-indicator-a9e725a2af2700c64fe2b5e9bd77fdd3d4558848.tar.gz libayatana-indicator-a9e725a2af2700c64fe2b5e9bd77fdd3d4558848.tar.bz2 libayatana-indicator-a9e725a2af2700c64fe2b5e9bd77fdd3d4558848.zip |
Including type information in the creation and destruction of servers
Diffstat (limited to 'tests')
-rw-r--r-- | tests/listen-and-print.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 |