[gnome-builder] tools: use ide logger in ide-list-build-flags



commit 5298630de99dce9a57292fc45741b99b61903246
Author: Christian Hergert <christian hergert me>
Date:   Fri May 8 11:28:11 2015 -0700

    tools: use ide logger in ide-list-build-flags

 tools/ide-list-build-flags.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tools/ide-list-build-flags.c b/tools/ide-list-build-flags.c
index 8da7b2b..cf553d6 100644
--- a/tools/ide-list-build-flags.c
+++ b/tools/ide-list-build-flags.c
@@ -105,10 +105,13 @@ main (gint   argc,
   g_autoptr(GFile) project_file = NULL;
   const gchar *project_path = ".";
 
+  ide_log_init (TRUE, NULL);
+
   ide_set_program_name ("gnome-builder");
   g_set_prgname ("ide-build");
 
   context = g_option_context_new (_("- Get build flags for a project file"));
+  g_option_context_add_group (context, gtk_get_option_group (TRUE));
 
   if (!g_option_context_parse (context, &argc, &argv, &error))
     {


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