diff options
Diffstat (limited to 'system-helper/xdg-app-system-helper.c')
-rw-r--r-- | system-helper/xdg-app-system-helper.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/system-helper/xdg-app-system-helper.c b/system-helper/xdg-app-system-helper.c index 0404022..81df38c 100644 --- a/system-helper/xdg-app-system-helper.c +++ b/system-helper/xdg-app-system-helper.c @@ -31,7 +31,6 @@ #include "lib/xdg-app-error.h" static PolkitAuthority *authority = NULL; -static GDBusNodeInfo *introspection_data = NULL; #ifndef glib_autoptr_cleanup_PolkitAuthorizationResult G_DEFINE_AUTOPTR_CLEANUP_FUNC(PolkitAuthorizationResult, g_object_unref) @@ -290,7 +289,6 @@ main (int argc, { guint owner_id; GMainLoop *loop; - GBytes *introspection_bytes; g_autoptr(GError) error = NULL; setlocale (LC_ALL, ""); @@ -306,11 +304,6 @@ main (int argc, return 1; } - 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_SYSTEM, "org.freedesktop.XdgApp.SystemHelper", G_BUS_NAME_OWNER_FLAGS_NONE, @@ -325,7 +318,5 @@ main (int argc, g_bus_unown_name (owner_id); - g_dbus_node_info_unref (introspection_data); - return 0; } |