aboutsummaryrefslogtreecommitdiff
path: root/example/simple-client.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2009-11-30 13:12:49 -0600
committerTed Gould <ted@gould.cx>2009-11-30 13:12:49 -0600
commit7cc02cf062998c6e8bc6caca4359ce5d45d6eb8a (patch)
tree359ad33f39311cb537caa077d1597ad40ed03f96 /example/simple-client.c
parenta7c70796808179a0033a01a436156f5d5087d39a (diff)
downloadayatana-indicator-application-7cc02cf062998c6e8bc6caca4359ce5d45d6eb8a.tar.gz
ayatana-indicator-application-7cc02cf062998c6e8bc6caca4359ce5d45d6eb8a.tar.bz2
ayatana-indicator-application-7cc02cf062998c6e8bc6caca4359ce5d45d6eb8a.zip
Migrating to the new 'app' world.
Diffstat (limited to 'example/simple-client.c')
-rw-r--r--example/simple-client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/example/simple-client.c b/example/simple-client.c
index ff718dd..8103082 100644
--- a/example/simple-client.c
+++ b/example/simple-client.c
@@ -10,12 +10,12 @@ main (int argc, char ** argv)
{
g_type_init();
- CustomIndicator * ci = CUSTOM_INDICATOR(g_object_new(CUSTOM_INDICATOR_TYPE, NULL));
+ AppIndicator * ci = APP_INDICATOR(g_object_new(APP_INDICATOR_TYPE, NULL));
g_assert(ci != NULL);
app_indicator_set_id(ci, "example-simple-client");
- app_indicator_set_category(ci, CUSTOM_INDICATOR_CATEGORY_APPLICATION_STATUS);
- app_indicator_set_status(ci, CUSTOM_INDICATOR_STATUS_ACTIVE);
+ app_indicator_set_category(ci, APP_INDICATOR_CATEGORY_APPLICATION_STATUS);
+ app_indicator_set_status(ci, APP_INDICATOR_STATUS_ACTIVE);
app_indicator_set_icon(ci, "indicator-messages");
app_indicator_set_attention_icon(ci, "indicator-messages-new");