[gedit] Do not call gtk_application_add_window
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Do not call gtk_application_add_window
- Date: Wed, 2 Jan 2013 12:02:11 +0000 (UTC)
commit 0c8727782dea9b4a163ac697f810ef32e9046b39
Author: Paolo Borelli <pborelli gnome org>
Date: Wed Jan 2 13:01:04 2013 +0100
Do not call gtk_application_add_window
We already set the application property of the window, so it is not
needed
gedit/gedit-app.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gedit/gedit-app.c b/gedit/gedit-app.c
index 2159862..b14c847 100644
--- a/gedit/gedit-app.c
+++ b/gedit/gedit-app.c
@@ -1023,8 +1023,6 @@ gedit_app_create_window_impl (GeditApp *app)
window = g_object_new (GEDIT_TYPE_WINDOW, "application", app, NULL);
- gtk_application_add_window (GTK_APPLICATION (app), GTK_WINDOW (window));
-
gedit_debug_message (DEBUG_APP, "Window created");
g_signal_connect (window,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]