summaryrefslogtreecommitdiff
path: root/services
diff options
Diffstat (limited to 'services')
-rw-r--r--services/CMakeLists.txt1
-rw-r--r--services/panel-service.c8
2 files changed, 3 insertions, 6 deletions
diff --git a/services/CMakeLists.txt b/services/CMakeLists.txt
index 9a9f9e01f..fe5dff1f8 100644
--- a/services/CMakeLists.txt
+++ b/services/CMakeLists.txt
@@ -12,7 +12,6 @@ set(UNITY_PANEL_SERVICE_DEPS
indicator3-0.4>=12.10.2
x11
libido3-0.1>=13.0.0
- libupstart
)
pkg_check_modules(SERVICE_DEPS REQUIRED ${UNITY_PANEL_SERVICE_DEPS})
diff --git a/services/panel-service.c b/services/panel-service.c
index 4451fffa5..6312ccfa3 100644
--- a/services/panel-service.c
+++ b/services/panel-service.c
@@ -34,8 +34,6 @@
#include <X11/XF86keysym.h>
#include <X11/extensions/XInput2.h>
-#include <upstart/upstart-dbus.h>
-
G_DEFINE_TYPE (PanelService, panel_service, G_TYPE_OBJECT);
#define GET_PRIVATE(o) \
@@ -843,9 +841,9 @@ emit_upstart_event (const gchar *event)
return;
}
- GVariant *result = g_dbus_connection_call_sync (conn, DBUS_SERVICE_UPSTART,
- DBUS_PATH_UPSTART,
- DBUS_INTERFACE_UPSTART,
+ GVariant *result = g_dbus_connection_call_sync (conn, "com.ubuntu.Upstart",
+ "/com/ubuntu/Upstart",
+ "com.ubuntu.Upstart0_6",
"EmitEvent",
g_variant_new ("(sasb)", event, NULL, 0),
NULL, G_DBUS_CALL_FLAGS_NO_AUTO_START, -1,