aboutsummaryrefslogtreecommitdiff
path: root/tests/test-libappindicator-dbus-server.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-libappindicator-dbus-server.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-libappindicator-dbus-server.c')
-rw-r--r--tests/test-libappindicator-dbus-server.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/test-libappindicator-dbus-server.c b/tests/test-libappindicator-dbus-server.c
index 2d61776..f7b8d9f 100644
--- a/tests/test-libappindicator-dbus-server.c
+++ b/tests/test-libappindicator-dbus-server.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>
#include "test-defines.h"
static GMainLoop * mainloop = NULL;
@@ -23,14 +23,14 @@ main (gint argc, gchar * argv[])
DbusmenuServer * dms = dbusmenu_server_new(TEST_OBJECT);
- CustomIndicator * ci = CUSTOM_INDICATOR(g_object_new(CUSTOM_INDICATOR_TYPE,
- "id", TEST_ID,
- "category-enum", TEST_CATEGORY,
- "status-enum", TEST_STATE,
- "icon-name", TEST_ICON_NAME,
- "attention-icon-name", TEST_ATTENTION_ICON_NAME,
- "menu-object", dms,
- NULL));
+ AppIndicator * ci = APP_INDICATOR(g_object_new(APP_INDICATOR_TYPE,
+ "id", TEST_ID,
+ "category-enum", TEST_CATEGORY,
+ "status-enum", TEST_STATE,
+ "icon-name", TEST_ICON_NAME,
+ "attention-icon-name", TEST_ATTENTION_ICON_NAME,
+ "menu-object", dms,
+ NULL));
g_timeout_add_seconds(2, kill_func, NULL);