session-helper: Forgot to remove some of the dead gresource code

tingping/wmclass
Alexander Larsson 2016-04-26 16:58:20 +02:00
parent 4f4b8c536b
commit 839e17abf0
1 changed files with 0 additions and 9 deletions

View File

@ -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;
}