diff options
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index a4f748aa5..361de631b 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -643,7 +643,6 @@ confirm_close_with_modified_forms (EphyWindow *window) { GtkWidget *dialog; GtkWidget *hbox, *vbox, *label, *image; - GtkWindowGroup *group; char *text; int response; @@ -686,16 +685,6 @@ confirm_close_with_modified_forms (EphyWindow *window) gtk_box_pack_start (GTK_BOX (vbox), label, TRUE, TRUE, 0); gtk_widget_show (label); - group = GTK_WINDOW (window)->group; - if (group == NULL) - { - group = gtk_window_group_new (); - gtk_window_group_add_window (group, GTK_WINDOW (window)); - g_object_unref (group); - } - - gtk_window_group_add_window (group, GTK_WINDOW (dialog)); - response = gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); |