summaryrefslogtreecommitdiff
path: root/src/trg-persistent-tree-view.c
diff options
context:
space:
mode:
authorGravatar Alan F <ajf@eth0.org.uk>2014-05-20 21:26:15 +0100
committerGravatar Alan F <ajf@eth0.org.uk>2014-05-20 21:26:15 +0100
commit071de62a76b37d85033430b101cc0e18f0aac07d (patch)
tree285478ab931ddfa36b4d805b5ba8b2a6fa1b713f /src/trg-persistent-tree-view.c
parent3343101d993edf10f9782e390a600ca568b840f7 (diff)
issue 261 - refactoring of persistent tree view during RSS broke the actions+directories views. PROP_CONF_FLAGS needed G_PARAM_CONSTRUCT_ONLY, otherwise it gets initialised after it is copied into the widget description struct, not before, so the config is accessed using the wrong scope.
Diffstat (limited to 'src/trg-persistent-tree-view.c')
-rw-r--r--src/trg-persistent-tree-view.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/trg-persistent-tree-view.c b/src/trg-persistent-tree-view.c
index c608acb..846fb9a 100644
--- a/src/trg-persistent-tree-view.c
+++ b/src/trg-persistent-tree-view.c
@@ -474,6 +474,7 @@ trg_persistent_tree_view_class_init(TrgPersistentTreeViewClass * klass)
INT_MAX,
TRG_PREFS_PROFILE,
G_PARAM_READWRITE |
+ G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_NAME |
G_PARAM_STATIC_NICK |
G_PARAM_STATIC_BLURB));