diff options
author | Ted Gould <ted@canonical.com> | 2009-01-29 12:51:48 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-01-29 12:51:48 -0600 |
commit | 054c9ba7a947c88735e83e5207e5d9d1f052d3a4 (patch) | |
tree | fbc5ebde2acfd226c60fb9fe917c2bcf77fefebc /tests/im-client.c | |
parent | f5e7d6dcc29a1e3ea6192d51ab85e790f2ef842b (diff) | |
download | libayatana-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.c | 4 |
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)); |