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/widgets/sp-attribute-widget.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/widgets/sp-attribute-widget.cpp')
| -rw-r--r-- | src/widgets/sp-attribute-widget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/sp-attribute-widget.cpp b/src/widgets/sp-attribute-widget.cpp index 89ce191ee..6116d3be5 100644 --- a/src/widgets/sp-attribute-widget.cpp +++ b/src/widgets/sp-attribute-widget.cpp @@ -160,7 +160,7 @@ void SPAttributeTable::set_object(SPObject *object, ll->set_halign(Gtk::ALIGN_END); ll->set_valign(Gtk::ALIGN_CENTER); ll->set_vexpand(); -#if WITH_GTKMM_3_12 +#if GTKMM_CHECK_VERSION(3,12,0) ll->set_margin_start(XPAD); ll->set_margin_end(XPAD); #else @@ -177,7 +177,7 @@ void SPAttributeTable::set_object(SPObject *object, ee->set_text (val ? val : (const gchar *) ""); ee->set_hexpand(); ee->set_vexpand(); -#if WITH_GTKMM_3_12 +#if GTKMM_CHECK_VERSION(3,12,0) ee->set_margin_start(XPAD); ee->set_margin_end(XPAD); #else |
