[gnome-builder/wip/libide] main: initialize libide
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/libide] main: initialize libide
- Date: Sun, 8 Feb 2015 03:42:50 +0000 (UTC)
commit 8a3e2343257dac691029df8567e6f116bdc8e057
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]