aboutsummaryrefslogtreecommitdiff
path: root/tests/test-simple-app.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2009-12-02 12:02:35 -0600
committerTed Gould <ted@gould.cx>2009-12-02 12:02:35 -0600
commit984759eaf0354ee99a177b185fed21ba0e5229ad (patch)
treeb246e31d89f79defb4d3f2e8ba26a7c716e6f816 /tests/test-simple-app.c
parent47741f6a4e84f187858caa54dc625a9d3d5e2b07 (diff)
parentf0881be3b8f779e0411958e6637f8f29e5697cbb (diff)
downloadlibayatana-appindicator-984759eaf0354ee99a177b185fed21ba0e5229ad.tar.gz
libayatana-appindicator-984759eaf0354ee99a177b185fed21ba0e5229ad.tar.bz2
libayatana-appindicator-984759eaf0354ee99a177b185fed21ba0e5229ad.zip
Changing the name from indicator-custom to indicator-application
Diffstat (limited to 'tests/test-simple-app.c')
-rw-r--r--tests/test-simple-app.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/test-simple-app.c b/tests/test-simple-app.c
index 9e779ec..3484e9e 100644
--- a/tests/test-simple-app.c
+++ b/tests/test-simple-app.c
@@ -2,7 +2,7 @@
#include <dbus/dbus-glib.h>
#include <dbus/dbus-glib-lowlevel.h>
#include <glib.h>
-#include <libcustomindicator/custom-indicator.h>
+#include <libappindicator/app-indicator.h>
static GMainLoop * mainloop = NULL;
@@ -15,12 +15,12 @@ main (int argc, char ** argv)
DbusmenuMenuitem * dmi = dbusmenu_menuitem_new();
dbusmenu_menuitem_property_set(dmi, "label", "Bob");
- CustomIndicator * ci = CUSTOM_INDICATOR(g_object_new(CUSTOM_INDICATOR_TYPE,
- "id", "test-application",
- "status-enum", CUSTOM_INDICATOR_STATUS_ACTIVE,
- "icon-name", "system-shutdown",
- "menu-object", dms,
- NULL));
+ AppIndicator * ci = APP_INDICATOR(g_object_new(APP_INDICATOR_TYPE,
+ "id", "test-application",
+ "status-enum", APP_INDICATOR_STATUS_ACTIVE,
+ "icon-name", "system-shutdown",
+ "menu-object", dms,
+ NULL));
mainloop = g_main_loop_new(NULL, FALSE);
g_main_loop_run(mainloop);