Remove bogus widget_destroyed callback in Shortcuts
Fixes: https://bugs.launchpad.net/midori/+bug/933082
This commit is contained in:
parent
d2aa1919aa
commit
63d7df5a0a
1 changed files with 0 additions and 2 deletions
|
@ -180,8 +180,6 @@ shortcuts_get_preferences_dialog (MidoriExtension* extension)
|
||||||
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
|
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
|
||||||
#endif
|
#endif
|
||||||
NULL);
|
NULL);
|
||||||
g_signal_connect (dialog, "destroy",
|
|
||||||
G_CALLBACK (gtk_widget_destroyed), &dialog);
|
|
||||||
gtk_window_set_icon_name (GTK_WINDOW (dialog), GTK_STOCK_PROPERTIES);
|
gtk_window_set_icon_name (GTK_WINDOW (dialog), GTK_STOCK_PROPERTIES);
|
||||||
sokoke_widget_get_text_size (dialog, "M", &width, &height);
|
sokoke_widget_get_text_size (dialog, "M", &width, &height);
|
||||||
gtk_window_set_default_size (GTK_WINDOW (dialog), width * 52, height * 24);
|
gtk_window_set_default_size (GTK_WINDOW (dialog), width * 52, height * 24);
|
||||||
|
|
Loading…
Reference in a new issue