[Xfce4-commits] <midori:master> Remove bogus widget_destroyed callback in Shortcuts

Christian Dywan noreply at xfce.org
Sun Feb 19 18:48:01 CET 2012


Updating branch refs/heads/master
         to 63d7df5a0acef44b593cd90ee509a1be6cc7e3d4 (commit)
       from d2aa1919aaad244c666d61cf68045f779bb4e670 (commit)

commit 63d7df5a0acef44b593cd90ee509a1be6cc7e3d4
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Feb 19 18:45:56 2012 +0100

    Remove bogus widget_destroyed callback in Shortcuts
    
    Fixes: https://bugs.launchpad.net/midori/+bug/933082

 extensions/shortcuts.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/extensions/shortcuts.c b/extensions/shortcuts.c
index 552f169..b4cb042 100644
--- a/extensions/shortcuts.c
+++ b/extensions/shortcuts.c
@@ -180,8 +180,6 @@ shortcuts_get_preferences_dialog (MidoriExtension* extension)
         GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
         #endif
         NULL);
-    g_signal_connect (dialog, "destroy",
-                      G_CALLBACK (gtk_widget_destroyed), &dialog);
     gtk_window_set_icon_name (GTK_WINDOW (dialog), GTK_STOCK_PROPERTIES);
     sokoke_widget_get_text_size (dialog, "M", &width, &height);
     gtk_window_set_default_size (GTK_WINDOW (dialog), width * 52, height * 24);


More information about the Xfce4-commits mailing list