[gnome-builder/wip/vim] app: change where we set the resource base path
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/vim] app: change where we set the resource base path
- Date: Fri, 3 Oct 2014 01:43:08 +0000 (UTC)
commit 42faffce831811c053152b91ecfef716de135b8e
Author: Christian Hergert <christian hergert me>
Date: Thu Oct 2 17:13:56 2014 -0700
app: change where we set the resource base path
Fixes the app menu it appears.
src/app/gb-application.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/app/gb-application.c b/src/app/gb-application.c
index b7c1086..c46cd72 100644
--- a/src/app/gb-application.c
+++ b/src/app/gb-application.c
@@ -338,6 +338,7 @@ gb_application_startup (GApplication *app)
self = GB_APPLICATION (app);
g_resources_register (gb_get_resource ());
+ g_application_set_resource_base_path (app, "/org/gnome/builder");
G_APPLICATION_CLASS (gb_application_parent_class)->startup (app);
@@ -356,9 +357,6 @@ gb_application_constructed (GObject *object)
if (G_OBJECT_CLASS (gb_application_parent_class)->constructed)
G_OBJECT_CLASS (gb_application_parent_class)->constructed (object);
- g_application_set_resource_base_path (G_APPLICATION (object),
- "/org/gnome/builder");
-
EXIT;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]