[gedit/wip/gtkapp] Move debugging init to startup
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/gtkapp] Move debugging init to startup
- Date: Tue, 31 Jul 2012 13:35:41 +0000 (UTC)
commit c67749fd9f4cdadaf3860c84bf864e691d893574
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Tue Jul 31 15:28:26 2012 +0200
Move debugging init to startup
gedit/gedit-app.c | 4 ++++
gedit/gedit.c | 4 ----
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gedit/gedit-app.c b/gedit/gedit-app.c
index a9d170a..aa2fdc7 100644
--- a/gedit/gedit-app.c
+++ b/gedit/gedit-app.c
@@ -365,6 +365,10 @@ gedit_app_startup (GApplication *application)
G_APPLICATION_CLASS (gedit_app_parent_class)->startup (application);
+ /* Setup debugging */
+ gedit_debug_init ();
+ gedit_debug_message (DEBUG_APP, "Startup");
+
gedit_dirs_init ();
gedit_debug_message (DEBUG_APP, "Set icon");
diff --git a/gedit/gedit.c b/gedit/gedit.c
index 476336e..1aadfc9 100644
--- a/gedit/gedit.c
+++ b/gedit/gedit.c
@@ -59,10 +59,6 @@ main (int argc, char *argv[])
/* Init type system as soon as possible */
g_type_init ();
- /* Setup debugging */
- gedit_debug_init ();
- gedit_debug_message (DEBUG_APP, "Startup");
-
/* Setup locale/gettext */
setlocale (LC_ALL, "");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]