summaryrefslogtreecommitdiff
path: root/session-helper
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-04-26 16:58:20 +0200
committerAlexander Larsson <alexl@redhat.com>2016-04-26 16:58:20 +0200
commit839e17abf0a619227aeac14e731146020f5a16d2 (patch)
treef7b28dd01d5a7b6fca76934595e098d04f8080db /session-helper
parent4f4b8c536b06ea2a5fa0e89f456a97ccd9684682 (diff)
downloadxdg-app-839e17abf0a619227aeac14e731146020f5a16d2.tar.gz
session-helper: Forgot to remove some of the dead gresource code
Diffstat (limited to 'session-helper')
-rw-r--r--session-helper/xdg-app-session-helper.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/session-helper/xdg-app-session-helper.c b/session-helper/xdg-app-session-helper.c
index 6afe064..3fa87da 100644
--- a/session-helper/xdg-app-session-helper.c
+++ b/session-helper/xdg-app-session-helper.c
@@ -27,7 +27,6 @@
#include "xdg-app-dbus.h"
#include "xdg-app-permission-store.h"
-static GDBusNodeInfo *introspection_data = NULL;
static char *monitor_dir;
static gboolean
@@ -128,7 +127,6 @@ main (int argc,
{
guint owner_id;
GMainLoop *loop;
- GBytes *introspection_bytes;
setlocale (LC_ALL, "");
@@ -145,12 +143,7 @@ main (int argc,
setup_file_monitor ("/etc/resolv.conf");
setup_file_monitor ("/etc/localtime");
-
- introspection_bytes = g_resources_lookup_data ("/org/freedesktop/XdgApp/org.freedesktop.XdgApp.xml", 0, NULL);
- g_assert (introspection_bytes != NULL);
- introspection_data = g_dbus_node_info_new_for_xml (g_bytes_get_data (introspection_bytes, NULL), NULL);
-
owner_id = g_bus_own_name (G_BUS_TYPE_SESSION,
"org.freedesktop.XdgApp",
G_BUS_NAME_OWNER_FLAGS_NONE,
@@ -165,7 +158,5 @@ main (int argc,
g_bus_unown_name (owner_id);
- g_dbus_node_info_unref (introspection_data);
-
return 0;
}