edit-dialog: remove dead code

This is already set in the UI definition file
for the dialog.
This commit is contained in:
Georges Basile Stavracas Neto
2015-12-30 14:12:02 -02:00
parent 1184d3e7c4
commit 0ac827d87d
-3
View File
@@ -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);