aboutsummaryrefslogtreecommitdiff
path: root/src/example-service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/example-service.c')
-rw-r--r--src/example-service.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/example-service.c b/src/example-service.c
index 8f87c74..1b197af 100644
--- a/src/example-service.c
+++ b/src/example-service.c
@@ -33,7 +33,6 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include <libdbusmenu-glib/client.h>
#include <libdbusmenu-glib/menuitem.h>
-#include "example-interface.h"
#include "dbus-shared.h"
#include "settings-shared.h"
@@ -41,7 +40,6 @@ static IndicatorService *service = NULL;
static GMainLoop *mainloop = NULL;
static DbusmenuServer *server = NULL;
static DbusmenuMenuitem *root = NULL;
-static ExampleInterface *dbus = NULL;
/* Global Items */
static DbusmenuMenuitem *item_1 = NULL;
@@ -116,9 +114,6 @@ main(int argc, char **argv)
build_menus(root);
- /* Setup dbus interface */
- dbus = g_object_new(EXAMPLE_INTERFACE_TYPE, NULL);
-
mainloop = g_main_loop_new(NULL, FALSE);
g_main_loop_run(mainloop);