diff options
author | Ted Gould <ted@canonical.com> | 2009-02-12 08:31:14 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-02-12 08:31:14 -0600 |
commit | 8a2cf3491cfd800cf6525b4d9180136976809311 (patch) | |
tree | d64d3c64f7eae2618b167e5404d526dd7879f47c /tests | |
parent | e1c5a98895875aaa39aeb274e631f19fb0cb6414 (diff) | |
download | libayatana-indicator-8a2cf3491cfd800cf6525b4d9180136976809311.tar.gz libayatana-indicator-8a2cf3491cfd800cf6525b4d9180136976809311.tar.bz2 libayatana-indicator-8a2cf3491cfd800cf6525b4d9180136976809311.zip |
Setting the properties property and picking up Empathy's desktop file
Diffstat (limited to 'tests')
-rw-r--r-- | tests/im-client.c | 6 |
1 files changed, 2 insertions, 4 deletions
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; |