diff options
| author | Alexander Valavanis <valavanisalex@gmail.com> | 2017-12-25 17:16:41 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2017-12-25 17:16:41 +0000 |
| commit | 8e2119c2042debcf51998631e64809e627b148c2 (patch) | |
| tree | c69d09bf78d648b3984cea7aa462dd751235ebfd /src/ui/dialog/aboutbox.cpp | |
| parent | Name a few more widgets. Minor cleanup. (diff) | |
| download | inkscape-8e2119c2042debcf51998631e64809e627b148c2.tar.gz inkscape-8e2119c2042debcf51998631e64809e627b148c2.zip | |
Use a macro for GtkMM version checks
Diffstat (limited to 'src/ui/dialog/aboutbox.cpp')
| -rw-r--r-- | src/ui/dialog/aboutbox.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/dialog/aboutbox.cpp b/src/ui/dialog/aboutbox.cpp index 9b99dde6b..e662362c4 100644 --- a/src/ui/dialog/aboutbox.cpp +++ b/src/ui/dialog/aboutbox.cpp @@ -108,14 +108,14 @@ AboutBox::AboutBox() : Gtk::Dialog(_("About Inkscape")) { Inkscape::version_string); label->set_markup(label_text); -#if WITH_GTKMM_3_10 +#if GTKMM_CHECK_VERSION(3,10,0) label->set_halign(Gtk::ALIGN_END); label->set_valign(Gtk::ALIGN_CENTER); #else label->set_alignment(Gtk::ALIGN_END, Gtk::ALIGN_CENTER); #endif -#if WITH_GTKMM_3_12 +#if GTKMM_CHECK_VERSION(3,12,0) label->set_margin_start(5); label->set_margin_end(5); #else @@ -132,13 +132,13 @@ AboutBox::AboutBox() : Gtk::Dialog(_("About Inkscape")) { link->set_markup(website_link); -#if WITH_GTKMM_3_10 +#if GTKMM_CHECK_VERSION(3,10,0) link->set_halign(Gtk::ALIGN_END); #else link->set_alignment(Gtk::ALIGN_END); #endif -#if WITH_GTKMM_3_12 +#if GTKMM_CHECK_VERSION(3,12,0) label->set_margin_start(5); label->set_margin_end(5); label->set_margin_top(5); |
