diff options
-rw-r--r-- | example/Makefile.am | 2 | ||||
-rw-r--r-- | example/simple-client.c | 6 |
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"); |