[glade/glade-3-16] Fixed regresion introduced when implemented GladeWindow as a composite widget. I forgot to move cata
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade/glade-3-16] Fixed regresion introduced when implemented GladeWindow as a composite widget. I forgot to move cata
- Date: Wed, 4 Sep 2013 20:08:47 +0000 (UTC)
commit a8a3611e33495dadc0279aa263eea04d154d3b9d
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date: Wed Sep 4 17:02:09 2013 -0300
Fixed regresion introduced when implemented GladeWindow as a composite widget.
I forgot to move catalog paths initialization to glade_window_init()
src/glade-window.c | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/src/glade-window.c b/src/glade-window.c
index 8fdf4fa..cba7c09 100644
--- a/src/glade-window.c
+++ b/src/glade-window.c
@@ -3112,6 +3112,16 @@ glade_window_init (GladeWindow *window)
priv->default_path = NULL;
+ /* Init preferences first, this has to be done before anything initializes
+ * the real GladeApp, so that catalog paths are loaded correctly before we
+ * continue.
+ *
+ * This should be fixed so that dynamic addition of catalogs at runtime
+ * is supported.
+ */
+ priv->preferences = (GladePreferences *)glade_preferences_new ();
+ glade_preferences_load (window->priv->preferences, glade_app_get_config ());
+
/* We need this for the icons to be available */
glade_init ();
@@ -3140,16 +3150,6 @@ glade_window_constructed (GObject *object)
/* Chain up... */
G_OBJECT_CLASS (glade_window_parent_class)->constructed (object);
- /* Init preferences first, this has to be done before anything initializes
- * the real GladeApp, so that catalog paths are loaded correctly before we
- * continue.
- *
- * This should be fixed so that dynamic addition of catalogs at runtime
- * is supported.
- */
- priv->preferences = (GladePreferences *)glade_preferences_new ();
- glade_preferences_load (window->priv->preferences, glade_app_get_config ());
-
/* recent files */
priv->recent_manager = gtk_recent_manager_get_default ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]