summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ui/dialog/symbols.cpp6
-rw-r--r--src/ui/dialog/symbols.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/dialog/symbols.cpp b/src/ui/dialog/symbols.cpp
index 60c9b2b32..1642ff04c 100644
--- a/src/ui/dialog/symbols.cpp
+++ b/src/ui/dialog/symbols.cpp
@@ -192,7 +192,7 @@ SymbolsDialog::SymbolsDialog( gchar const* prefsPath ) :
scroller->add(*Gtk::manage(icon_view));
scroller->set_hexpand();
scroller->set_vexpand();
-#if GTK_CHECK_VERSION(3,2,4)
+#if GTKMM_CHECK_VERSION(3,14,0)
overlay = new Gtk::Overlay();
overlay->set_hexpand();
overlay->set_vexpand();
@@ -447,7 +447,7 @@ void SymbolsDialog::rebuild() {
}
}
void SymbolsDialog::showOverlay() {
-#if GTK_CHECK_VERSION(3,2,4)
+#if GTKMM_CHECK_VERSION(3,14,0)
Glib::ustring current = Glib::Markup::escape_text(symbol_set->get_active_text());
overlay_icon->set_from_icon_name("none", iconsize);
if (current == ALLDOCS && !l.size())
@@ -495,7 +495,7 @@ void SymbolsDialog::showOverlay() {
}
void SymbolsDialog::hideOverlay() {
-#if GTK_CHECK_VERSION(3,2,4)
+#if GTKMM_CHECK_VERSION(3,14,0)
overlay_opacity->hide();
overlay_icon->hide();
overlay_title->hide();
diff --git a/src/ui/dialog/symbols.h b/src/ui/dialog/symbols.h
index 6e49939af..fc5c861ed 100644
--- a/src/ui/dialog/symbols.h
+++ b/src/ui/dialog/symbols.h
@@ -132,7 +132,7 @@ private:
Gtk::Button* more;
Gtk::Button* fewer;
Gtk::HBox* tools;
-#if GTK_CHECK_VERSION(3,2,4)
+#if GTKMM_CHECK_VERSION(3,14,0)
Gtk::Overlay* overlay;
#endif
Gtk::Image* overlay_icon;