summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/dock.cpp
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2012-10-18 18:06:35 +0000
committer~suv <suv-sf@users.sourceforge.net>2012-10-18 18:06:35 +0000
commit9158a2ccc3f6238e3f511d078b4d0ef942f30e9b (patch)
treecb4a833c8d624bfb1d36052c8088c4f835cfb031 /src/ui/widget/dock.cpp
parentFix SVG formatting (EMF import): (diff)
parentTranslations. Latvian translation update by Jānis Eisaks. (diff)
downloadinkscape-9158a2ccc3f6238e3f511d078b4d0ef942f30e9b.tar.gz
inkscape-9158a2ccc3f6238e3f511d078b4d0ef942f30e9b.zip
merge from trunk (r11808)
(bzr r11668.1.30)
Diffstat (limited to 'src/ui/widget/dock.cpp')
-rw-r--r--src/ui/widget/dock.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/ui/widget/dock.cpp b/src/ui/widget/dock.cpp
index a7dabef1c..a38a93fb1 100644
--- a/src/ui/widget/dock.cpp
+++ b/src/ui/widget/dock.cpp
@@ -81,9 +81,15 @@ Dock::Dock(Gtk::Orientation orientation)
static_cast<GdlSwitcherStyle>(prefs->getIntLimited("/options/dock/switcherstyle",
GDL_SWITCHER_STYLE_BOTH, 0, 4));
- g_object_set (GDL_DOCK_OBJECT(_gdl_dock)->master,
- "switcher-style", gdl_switcher_style,
- NULL);
+ GdlDockMaster* master = NULL;
+
+ g_object_get(GDL_DOCK_OBJECT(_gdl_dock),
+ "master", &master,
+ NULL);
+
+ g_object_set(master,
+ "switcher-style", gdl_switcher_style,
+ NULL);
GdlDockBarStyle gdl_dock_bar_style =
static_cast<GdlDockBarStyle>(prefs->getIntLimited("/options/dock/dockbarstyle",