From 3c823de8905133787ec1ec4475cf95214a1e975b Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Thu, 3 Nov 2011 19:46:42 +0100 Subject: Drop all patches - applied upstream --- .../0001-Add-categories-to-desktop-file.patch | 22 ------ ...02-Register-org.gnome.KrbAuthDialog-early.patch | 84 ---------------------- debian/patches/series | 2 - 3 files changed, 108 deletions(-) delete mode 100644 debian/patches/0001-Add-categories-to-desktop-file.patch delete mode 100644 debian/patches/0002-Register-org.gnome.KrbAuthDialog-early.patch delete mode 100644 debian/patches/series (limited to 'debian') diff --git a/debian/patches/0001-Add-categories-to-desktop-file.patch b/debian/patches/0001-Add-categories-to-desktop-file.patch deleted file mode 100644 index d217276..0000000 --- a/debian/patches/0001-Add-categories-to-desktop-file.patch +++ /dev/null @@ -1,22 +0,0 @@ -From: =?UTF-8?q?Guido=20G=C3=BCnther?= -Date: Tue, 27 Sep 2011 11:52:37 +0200 -Subject: Add categories to desktop file - -BZ: #660227 ---- - src/krb5-auth-dialog.desktop.in | 1 + - 1 files changed, 1 insertions(+), 0 deletions(-) - -diff --git a/src/krb5-auth-dialog.desktop.in b/src/krb5-auth-dialog.desktop.in -index 6f02571..7c2223a 100644 ---- a/src/krb5-auth-dialog.desktop.in -+++ b/src/krb5-auth-dialog.desktop.in -@@ -5,6 +5,7 @@ Exec=krb5-auth-dialog - Terminal=false - Type=Application - Icon=krb-valid-ticket -+Categories=GNOME;GTK;Utility;Network; - X-GNOME-Bugzilla-Bugzilla=GNOME - X-GNOME-Bugzilla-Product=krb5-auth-dialog - X-GNOME-Bugzilla-Component=general --- diff --git a/debian/patches/0002-Register-org.gnome.KrbAuthDialog-early.patch b/debian/patches/0002-Register-org.gnome.KrbAuthDialog-early.patch deleted file mode 100644 index 14bccfc..0000000 --- a/debian/patches/0002-Register-org.gnome.KrbAuthDialog-early.patch +++ /dev/null @@ -1,84 +0,0 @@ -From: =?UTF-8?q?Guido=20G=C3=BCnther?= -Date: Tue, 27 Sep 2011 20:47:54 +0200 -Subject: Register org.gnome.KrbAuthDialog early - -and get the bus via g_bus_get_sync unbreak DBus activation. ---- - src/ka-applet.c | 6 ++---- - src/ka-dbus.c | 20 +++++++++----------- - 2 files changed, 11 insertions(+), 15 deletions(-) - -diff --git a/src/ka-applet.c b/src/ka-applet.c -index f1fffbf..56d4b14 100644 ---- a/src/ka-applet.c -+++ b/src/ka-applet.c -@@ -188,10 +188,6 @@ ka_applet_startup (GApplication *application) - KA_DEBUG ("Primary application"); - - self->priv->startup_ccache = ka_kerberos_init (self); -- if (!ka_dbus_connect (self)) { -- ka_applet_destroy (self); -- } -- - main_window = ka_main_window_create (self, self->priv->uixml); - gtk_application_add_window (GTK_APPLICATION(self), main_window); - ka_preferences_window_create (self, self->priv->uixml); -@@ -1080,6 +1076,8 @@ ka_applet_create () - applet->priv->loader = ka_plugin_loader_create (applet); - g_return_val_if_fail (applet->priv->loader != NULL, NULL); - -+ g_return_val_if_fail (ka_dbus_connect (applet), NULL); -+ - return applet; - } - -diff --git a/src/ka-dbus.c b/src/ka-dbus.c -index 2b84adc..c88561e 100644 ---- a/src/ka-dbus.c -+++ b/src/ka-dbus.c -@@ -169,15 +169,11 @@ static const GDBusInterfaceVTable interface_vtable = - }; - - --static void --ka_dbus_on_get_bus_cb (GObject *source_object G_GNUC_UNUSED, -- GAsyncResult *res, -- gpointer user_data) -+static gboolean -+ka_dbus_register (KaApplet *applet) - { -- KaApplet *applet = user_data; - guint id; - -- dbus_connection = g_bus_get_finish (res, NULL); - introspection_data = g_dbus_node_info_new_for_xml ( - ka_dbus_introspection_xml, - NULL); -@@ -189,9 +185,10 @@ ka_dbus_on_get_bus_cb (GObject *source_object G_GNUC_UNUSED, - applet, - NULL, /* user_data_free_func */ - NULL); /* GError** */ -- if (!id) -- g_error ("Failed to register DBus object"); -+ -+ g_return_val_if_fail(id, FALSE); - ka_dbus_connect_signals (applet); -+ return TRUE; - } - - -@@ -212,9 +209,10 @@ ka_dbus_connect (KaApplet *applet) - { - g_return_val_if_fail (applet != 0, FALSE); - -- g_bus_get (G_BUS_TYPE_SESSION, NULL, ka_dbus_on_get_bus_cb, -- applet); -- return TRUE; -+ dbus_connection = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, NULL); -+ g_return_val_if_fail (dbus_connection != NULL, FALSE); -+ -+ return ka_dbus_register(applet); - } - - /* --- diff --git a/debian/patches/series b/debian/patches/series deleted file mode 100644 index 49ba7c1..0000000 --- a/debian/patches/series +++ /dev/null @@ -1,2 +0,0 @@ -0001-Add-categories-to-desktop-file.patch -0002-Register-org.gnome.KrbAuthDialog-early.patch -- cgit