From 7cc02cf062998c6e8bc6caca4359ce5d45d6eb8a Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 30 Nov 2009 13:12:49 -0600 Subject: Migrating to the new 'app' world. --- example/Makefile.am | 2 +- example/simple-client.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'example') 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"); -- cgit v1.2.3