[gnome-builder] tools: initialize gtk and log on startup



commit 4065d1881f596fdb44f6e6f2e787fc1d96325efd
Author: Christian Hergert <christian hergert me>
Date:   Fri Apr 24 01:28:06 2015 -0700

    tools: initialize gtk and log on startup

 tools/ide-list-file-settings.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/tools/ide-list-file-settings.c b/tools/ide-list-file-settings.c
index 51b7c84..b27261d 100644
--- a/tools/ide-list-file-settings.c
+++ b/tools/ide-list-file-settings.c
@@ -164,6 +164,10 @@ main (gint   argc,
   ide_set_program_name ("gnome-builder");
   g_set_prgname ("ide-list-file-settings");
 
+  gtk_init (&argc, &argv);
+
+  ide_log_init (TRUE, NULL);
+
   context = g_option_context_new (_("- List files found in project."));
 
   if (!g_option_context_parse (context, &argc, &argv, &error))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]