[gnome-calendar/wip/gbsneto/edit-dialog-cleanup: 1/3] edit-dialog: remove dead code



commit 0ac827d87d21e1b0720060d4a19214ab73cc7e16
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Dec 30 14:12:02 2015 -0200

    edit-dialog: remove dead code
    
    This is already set in the UI definition file
    for the dialog.

 src/gcal-edit-dialog.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/gcal-edit-dialog.c b/src/gcal-edit-dialog.c
index 6336e7e..f521702 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]