From 8a2cf3491cfd800cf6525b4d9180136976809311 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 12 Feb 2009 08:31:14 -0600 Subject: Setting the properties property and picking up Empathy's desktop file --- tests/im-client.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/im-client.c b/tests/im-client.c index 3670bfa..0731468 100644 --- a/tests/im-client.c +++ b/tests/im-client.c @@ -49,10 +49,8 @@ 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.im"); - g_object_set_property(G_OBJECT(server), "type", &value); + indicate_server_set_type(server, "message.im"); + indicate_server_set_desktop_file(server, "/usr/share/applications/empathy.desktop"); IndicateIndicatorMessage * indicator; -- cgit v1.2.3