aboutsummaryrefslogtreecommitdiff
path: root/tests/test-simple-app.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2009-11-30 13:21:45 -0600
committerTed Gould <ted@gould.cx>2009-11-30 13:21:45 -0600
commitf0881be3b8f779e0411958e6637f8f29e5697cbb (patch)
treeb246e31d89f79defb4d3f2e8ba26a7c716e6f816 /tests/test-simple-app.c
parent35d5c711028141dbca7907f550849b1bd1c8dfe7 (diff)
downloadlibayatana-appindicator-f0881be3b8f779e0411958e6637f8f29e5697cbb.tar.gz
libayatana-appindicator-f0881be3b8f779e0411958e6637f8f29e5697cbb.tar.bz2
libayatana-appindicator-f0881be3b8f779e0411958e6637f8f29e5697cbb.zip
Changing the insides to remove the custom stuff.
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);