aboutsummaryrefslogtreecommitdiff
path: root/src/libappindicator
diff options
context:
space:
mode:
authorAurelien Gateau <aurelien.gateau@canonical.com>2009-12-23 17:00:30 +0100
committerAurelien Gateau <aurelien.gateau@canonical.com>2009-12-23 17:00:30 +0100
commitdd2ed951b8aeb16671bebd2ea104953252ab54a5 (patch)
treec7a371e7ae9798344d810774a9da3a1932ef8069 /src/libappindicator
parent95b5ea90de66f465398fbdf9779e342395ea327a (diff)
downloadayatana-indicator-application-dd2ed951b8aeb16671bebd2ea104953252ab54a5.tar.gz
ayatana-indicator-application-dd2ed951b8aeb16671bebd2ea104953252ab54a5.tar.bz2
ayatana-indicator-application-dd2ed951b8aeb16671bebd2ea104953252ab54a5.zip
Previous commit was not meant to be pushed to trunk
Revert my mess
Diffstat (limited to 'src/libappindicator')
-rw-r--r--src/libappindicator/app-indicator.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c
index 4baf4ef..bb68cb2 100644
--- a/src/libappindicator/app-indicator.c
+++ b/src/libappindicator/app-indicator.c
@@ -32,7 +32,6 @@ License version 3 and version 2.1 along with this program. If not, see
#endif
#include <dbus/dbus-glib.h>
-#include <dbus/dbus-glib-lowlevel.h>
#include <libdbusmenu-glib/server.h>
#include <libdbusmenu-gtk/client.h>
@@ -294,7 +293,7 @@ app_indicator_init (AppIndicator *self)
}
dbus_g_connection_register_g_object(priv->connection,
- "/StatusNotifierItem",
+ "/need/a/path",
G_OBJECT(self));
self->priv = priv;
@@ -514,8 +513,7 @@ check_connect (AppIndicator *self)
return;
}
- const char * name = dbus_bus_get_unique_name(dbus_g_connection_get_connection(priv->connection));
- org_kde_StatusNotifierWatcher_register_status_notifier_item_async(priv->watcher_proxy, name, register_service_cb, self);
+ org_ayatana_indicator_application_NotificationWatcher_register_service_async(priv->watcher_proxy, "/need/a/path", register_service_cb, self);
return;
}