diff options
author | Ted Gould <ted@canonical.com> | 2009-02-07 12:41:40 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-02-07 12:41:40 -0600 |
commit | b9558054100c8e66cead50a49036bf83e7e0e2f9 (patch) | |
tree | 97830a9af4cc0b6c4b2d9ab7f8825a06ba2de918 /tests/im-client.c | |
parent | f308079a76c6a7aed8a5fcebf6a5241330adb636 (diff) | |
parent | af60279179c1e3998796d3b172b1401bd9a678df (diff) | |
download | libayatana-indicator-b9558054100c8e66cead50a49036bf83e7e0e2f9.tar.gz libayatana-indicator-b9558054100c8e66cead50a49036bf83e7e0e2f9.tar.bz2 libayatana-indicator-b9558054100c8e66cead50a49036bf83e7e0e2f9.zip |
Sending the type with the signal in the listener, adding it into the tests.
Diffstat (limited to 'tests/im-client.c')
-rw-r--r-- | tests/im-client.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/im-client.c b/tests/im-client.c index 9e6bc77..b6e4f09 100644 --- a/tests/im-client.c +++ b/tests/im-client.c @@ -1,5 +1,6 @@ #include <glib.h> +#include "libindicate/server.h" #include "libindicate/indicator-message.h" static void @@ -13,6 +14,12 @@ main (int argc, char ** argv) { g_type_init(); + IndicateServer * server = indicate_server_ref_default(); + GValue value = {0}; + g_value_init(&value, G_TYPE_STRING); + g_value_set_static_string(&value, "message"); + g_object_set_property(G_OBJECT(server), "type", &value); + IndicateIndicatorMessage * indicator; indicator = indicate_indicator_message_new(); |