aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/im-client.c7
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();