diff options
| author | Alexander Valavanis <valavanisalex@gmail.com> | 2019-05-26 15:11:07 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2019-05-26 15:11:07 +0000 |
| commit | 630be8274013c5eef5f19e19a14bc6d759aada5a (patch) | |
| tree | 6774d8db433426ab8361e18638869ad2336bf705 /src/file-update.cpp | |
| parent | Rename wrong named function (diff) | |
| download | inkscape-630be8274013c5eef5f19e19a14bc6d759aada5a.tar.gz inkscape-630be8274013c5eef5f19e19a14bc6d759aada5a.zip | |
Rm unused code now Gtk+ >= 3.22 dependency is set
Diffstat (limited to 'src/file-update.cpp')
| -rw-r--r-- | src/file-update.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/file-update.cpp b/src/file-update.cpp index 9f1eafd7f..9ab83a7b9 100644 --- a/src/file-update.cpp +++ b/src/file-update.cpp @@ -423,13 +423,9 @@ void sp_file_convert_dpi(SPDocument *doc) moreinfo_text.set_line_wrap(true); moreinfo_text.set_margin_bottom(20); moreinfo_text.set_margin_top(20); -#if GTK_CHECK_VERSION(3,12,0) moreinfo_text.set_margin_start(30); moreinfo_text.set_margin_end(15); -#else - moreinfo_text.set_margin_left(30); - moreinfo_text.set_margin_right(15); -#endif + Gtk::Box b; b.set_border_width(0); @@ -442,12 +438,7 @@ 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(); Gtk::Button *ok_button = scale_dialog.add_button(_("OK"), GTK_RESPONSE_ACCEPT); |
