aboutsummaryrefslogtreecommitdiff
path: root/tests/im-client.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-01-29 12:51:48 -0600
committerTed Gould <ted@canonical.com>2009-01-29 12:51:48 -0600
commit054c9ba7a947c88735e83e5207e5d9d1f052d3a4 (patch)
treefbc5ebde2acfd226c60fb9fe917c2bcf77fefebc /tests/im-client.c
parentf5e7d6dcc29a1e3ea6192d51ab85e790f2ef842b (diff)
downloadlibayatana-indicator-054c9ba7a947c88735e83e5207e5d9d1f052d3a4.tar.gz
libayatana-indicator-054c9ba7a947c88735e83e5207e5d9d1f052d3a4.tar.bz2
libayatana-indicator-054c9ba7a947c88735e83e5207e5d9d1f052d3a4.zip
Adding a set property after the show to cause a signal
Diffstat (limited to 'tests/im-client.c')
-rw-r--r--tests/im-client.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/im-client.c b/tests/im-client.c
index cdf3484..43635f0 100644
--- a/tests/im-client.c
+++ b/tests/im-client.c
@@ -13,7 +13,9 @@ main (int argc, char ** argv)
indicate_indicator_set_property(INDICATE_INDICATOR(indicator), "subtype", "im");
indicate_indicator_set_property(INDICATE_INDICATOR(indicator), "sender", "Ted Gould");
indicate_indicator_set_property(INDICATE_INDICATOR(indicator), "time", "11:11");
- indicate_indicator_show(indicator);
+ indicate_indicator_show(INDICATE_INDICATOR(indicator));
+
+ indicate_indicator_set_property(INDICATE_INDICATOR(indicator), "time", "11:12");
g_main_loop_run(g_main_loop_new(NULL, FALSE));