[gnome-todo/wip/sadiq/gtk4: 25/25] application: Don't explicitly show window
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo/wip/sadiq/gtk4: 25/25] application: Don't explicitly show window
- Date: Fri, 1 Feb 2019 14:52:28 +0000 (UTC)
commit 471bb14089daf3c8407d7336acff8d8dac80bbbf
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date: Wed Dec 19 07:29:15 2018 +0530
application: Don't explicitly show window
gtk_window_present() shows the widget if it is hidden.
src/gtd-application.c | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/src/gtd-application.c b/src/gtd-application.c
index 5bed416..9e42a5b 100644
--- a/src/gtd-application.c
+++ b/src/gtd-application.c
@@ -89,7 +89,6 @@ gtd_application_activate_action (GSimpleAction *simple,
{
GtdApplication *self = GTD_APPLICATION (user_data);
- gtk_widget_show (self->window);
gtk_window_present (GTK_WINDOW (self->window));
}
@@ -173,7 +172,6 @@ gtd_application_new (void)
static void
run_window (GtdApplication *self)
{
- gtk_widget_show (self->window);
gtk_window_present (GTK_WINDOW (self->window));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]