From 3d3dc6836a11cb8e9deade5a306653327cbcc981 Mon Sep 17 00:00:00 2001 From: Alexander Valavanis Date: Sun, 9 Jul 2017 18:18:24 +0200 Subject: Fix build for Gtk < 3.12 --- src/file-update.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/file-update.cpp') diff --git a/src/file-update.cpp b/src/file-update.cpp index c48e8674f..3771d549b 100644 --- a/src/file-update.cpp +++ b/src/file-update.cpp @@ -375,7 +375,13 @@ void sp_file_convert_dpi(SPDocument *doc) b.set_valign(Gtk::ALIGN_START); b.set_hexpand(false); b.set_vexpand(false); + +#if GTK_CHECK_VERSION(3,12,0) b.set_margin_start(30); +#else + b.set_margin_left(30); +#endif + Gtk::Box *content = scale_dialog.get_content_area(); content->pack_start(explanation, false, false, 5); content->pack_start(choice1, false, false, 5); -- cgit v1.2.3