From 0ac827d87d21e1b0720060d4a19214ab73cc7e16 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Wed, 30 Dec 2015 14:12:02 -0200 Subject: [PATCH] edit-dialog: remove dead code This is already set in the UI definition file for the dialog. --- src/gcal-edit-dialog.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gcal-edit-dialog.c b/src/gcal-edit-dialog.c index 6336e7e8..f5217023 100644 --- a/src/gcal-edit-dialog.c +++ b/src/gcal-edit-dialog.c @@ -749,9 +749,6 @@ gcal_edit_dialog_new (gboolean format_24h) dialog = g_object_new (GCAL_TYPE_EDIT_DIALOG, NULL); priv = gcal_edit_dialog_get_instance_private (GCAL_EDIT_DIALOG (dialog)); - gtk_window_set_modal (GTK_WINDOW (dialog), TRUE); - gtk_window_set_destroy_with_parent (GTK_WINDOW (dialog), TRUE); - gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE); priv->format_24h = format_24h; gcal_time_selector_set_time_format (GCAL_TIME_SELECTOR (priv->start_time_selector), format_24h);