[evolution] GalViewInstanceSaveAsDialog: Do not show the dialog in the init()
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] GalViewInstanceSaveAsDialog: Do not show the dialog in the init()
- Date: Fri, 17 Sep 2021 09:25:45 +0000 (UTC)
commit 9191db0435b2063ad10d0bd2903460d0dd0b54eb
Author: Milan Crha <mcrha redhat com>
Date: Fri Sep 17 11:23:13 2021 +0200
GalViewInstanceSaveAsDialog: Do not show the dialog in the init()
The dialog is shown when needed, it's not needed to show it this early.
It also begun to generate runtime warning.
src/e-util/gal-view-instance-save-as-dialog.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/src/e-util/gal-view-instance-save-as-dialog.c b/src/e-util/gal-view-instance-save-as-dialog.c
index 0972b5d148..f229774184 100644
--- a/src/e-util/gal-view-instance-save-as-dialog.c
+++ b/src/e-util/gal-view-instance-save-as-dialog.c
@@ -289,7 +289,6 @@ gal_view_instance_save_as_dialog_init (GalViewInstanceSaveAsDialog *dialog)
gvisad_setup_validate_button (dialog);
gtk_window_set_title (GTK_WINDOW (dialog), _("Save Current View"));
- gtk_widget_show (GTK_WIDGET (dialog));
}
/* External methods */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]