summaryrefslogtreecommitdiffstats
path: root/src/extension/implementation
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2016-07-28 10:22:07 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2016-07-28 10:22:07 +0000
commitcebbe5b970cba85a5e21f8347f0a20e78351d394 (patch)
treeffd31e1bcd0188d4a2e47ba4758a89b9ab986c6d /src/extension/implementation
parentwidgets/ruler: Drop GTK2 fallbacks (diff)
downloadinkscape-cebbe5b970cba85a5e21f8347f0a20e78351d394.tar.gz
inkscape-cebbe5b970cba85a5e21f8347f0a20e78351d394.zip
extensions: Drop GTKMM2 fallbacks
(bzr r15023.2.5)
Diffstat (limited to 'src/extension/implementation')
-rw-r--r--src/extension/implementation/script.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/extension/implementation/script.cpp b/src/extension/implementation/script.cpp
index 01323bee2..72a189c3f 100644
--- a/src/extension/implementation/script.cpp
+++ b/src/extension/implementation/script.cpp
@@ -942,11 +942,7 @@ void Script::checkStderr (const Glib::ustring &data,
GtkWidget *dlg = GTK_WIDGET(warning.gobj());
sp_transientize(dlg);
-#if WITH_GTKMM_3_0
- Gtk::Box * vbox = warning.get_content_area();
-#else
- Gtk::Box * vbox = warning.get_vbox();
-#endif
+ auto vbox = warning.get_content_area();
/* Gtk::TextView * textview = new Gtk::TextView(Gtk::TextBuffer::create()); */
Gtk::TextView * textview = new Gtk::TextView();