aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/im-client.c2
-rw-r--r--tests/listen-and-print.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/im-client.c b/tests/im-client.c
index 53aa980..db04b8e 100644
--- a/tests/im-client.c
+++ b/tests/im-client.c
@@ -37,7 +37,7 @@ main (int argc, char ** argv)
IndicateServer * server = indicate_server_ref_default();
GValue value = {0};
g_value_init(&value, G_TYPE_STRING);
- g_value_set_static_string(&value, "message");
+ g_value_set_static_string(&value, "message.im");
g_object_set_property(G_OBJECT(server), "type", &value);
IndicateIndicatorMessage * indicator;
diff --git a/tests/listen-and-print.c b/tests/listen-and-print.c
index a65b9fb..53c9778 100644
--- a/tests/listen-and-print.c
+++ b/tests/listen-and-print.c
@@ -41,15 +41,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