]> spindle.queued.net Git - midori/commitdiff
Remove bogus widget_destroyed callback in Shortcuts
authorChristian Dywan <christian@twotoasts.de>
Sun, 19 Feb 2012 17:45:56 +0000 (18:45 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 19 Feb 2012 17:45:56 +0000 (18:45 +0100)
Fixes: https://bugs.launchpad.net/midori/+bug/933082
extensions/shortcuts.c

index 552f169438fceb77b8f3fbe2fb0dea79bb38192e..b4cb0427bcd2c2799046a2c2e826f64bb5c91c10 100644 (file)
@@ -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);