summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/livepatheffect-add.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2013-03-08 01:44:43 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2013-03-08 01:44:43 +0000
commit1d3f07d09370bf8fefa7968706375ae3669dbd1c (patch)
tree04210cdc85a6f90f3db35e45b06aeb8d2435b550 /src/ui/dialog/livepatheffect-add.cpp
parentDrop more Gtk::Table usage (diff)
downloadinkscape-1d3f07d09370bf8fefa7968706375ae3669dbd1c.tar.gz
inkscape-1d3f07d09370bf8fefa7968706375ae3669dbd1c.zip
Drop deprecated get_vbox method in Gtk::Dialog
(bzr r12181)
Diffstat (limited to '')
-rw-r--r--src/ui/dialog/livepatheffect-add.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/dialog/livepatheffect-add.cpp b/src/ui/dialog/livepatheffect-add.cpp
index e899dbcfc..b5f51d81d 100644
--- a/src/ui/dialog/livepatheffect-add.cpp
+++ b/src/ui/dialog/livepatheffect-add.cpp
@@ -73,7 +73,12 @@ LivePathEffectAdd::LivePathEffectAdd() :
add_button.set_use_underline(true);
add_button.set_can_default();
+#if WITH_GTKMM_3_0
+ Gtk::Box *mainVBox = get_content_area();
+#else
Gtk::Box *mainVBox = get_vbox();
+#endif
+
mainVBox->pack_start(scrolled_window, true, true);
add_action_widget(close_button, Gtk::RESPONSE_CLOSE);
add_action_widget(add_button, Gtk::RESPONSE_APPLY);