aboutsummaryrefslogtreecommitdiff
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
parenta7c70796808179a0033a01a436156f5d5087d39a (diff)
downloadlibayatana-appindicator-7cc02cf062998c6e8bc6caca4359ce5d45d6eb8a.tar.gz
libayatana-appindicator-7cc02cf062998c6e8bc6caca4359ce5d45d6eb8a.tar.bz2
libayatana-appindicator-7cc02cf062998c6e8bc6caca4359ce5d45d6eb8a.zip
Migrating to the new 'app' world.
-rw-r--r--example/Makefile.am2
-rw-r--r--example/simple-client.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/example/Makefile.am b/example/Makefile.am
index 954b04e..f4f2ab2 100644
--- a/example/Makefile.am
+++ b/example/Makefile.am
@@ -16,4 +16,4 @@ simple_client_CFLAGS = \
simple_client_LDADD = \
$(INDICATOR_LIBS) \
- $(top_builddir)/src/libcustomindicator.la
+ $(top_builddir)/src/libappindicator.la
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");