[gnome-builder] main: initialize libide
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] main: initialize libide
- Date: Mon, 23 Mar 2015 23:21:04 +0000 (UTC)
commit 65e7aa3a4674b0cf9fdd12a35e824a5efb2862d8
Author: Christian Hergert <christian hergert me>
Date: Sat Feb 7 19:42:08 2015 -0800
main: initialize libide
We need to set the program name so libide can manage the builds from the
correct directory.
Also, no need to initialize ggit, since that is done in libide.
src/main.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index dfc9a4f..b38e3a5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -25,7 +25,7 @@
#include <glib.h>
#include <glib/gi18n.h>
#include <gtk/gtk.h>
-#include <libgit2-glib/ggit.h>
+#include <ide.h>
#include <locale.h>
#include "gb-application.h"
@@ -47,8 +47,9 @@ main (int argc,
g_set_prgname (PACKAGE_TARNAME);
g_set_application_name (_("Builder"));
+ ide_set_program_name ("gnome-builder");
+
gb_log_init (TRUE, NULL);
- ggit_init ();
g_message ("Initializing with Gtk+ version %d.%d.%d.",
gtk_get_major_version (),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]