summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2016-04-12 09:47:23 +0000
committerMartin Owens <doctormo@gmail.com>2016-04-12 09:47:23 +0000
commit4f88ccdfed31eb06cfc0d362dc2cb8358bb65e34 (patch)
treeb80b02b3df907d7d2332439d08d39cb597ab1e94 /src/ui
parentBump version to gtk 3.8 of later (diff)
downloadinkscape-4f88ccdfed31eb06cfc0d362dc2cb8358bb65e34.tar.gz
inkscape-4f88ccdfed31eb06cfc0d362dc2cb8358bb65e34.zip
Bump ifdefs to 3.8 (now ifdefs say 3.0 instead of 3.2 or 3.8)
(bzr r14788)
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/dialog/ocaldialogs.cpp4
-rw-r--r--src/ui/dialog/ocaldialogs.h6
-rw-r--r--src/ui/widget/gimpcolorwheel.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/src/ui/dialog/ocaldialogs.cpp b/src/ui/dialog/ocaldialogs.cpp
index a1c7d41bd..f2ee79d06 100644
--- a/src/ui/dialog/ocaldialogs.cpp
+++ b/src/ui/dialog/ocaldialogs.cpp
@@ -573,7 +573,7 @@ void StatusWidget::end_process()
clear();
}
-#if !GTK_CHECK_VERSION(3,6,0)
+#if !GTK_CHECK_VERSION(3,0,0)
SearchEntry::SearchEntry() : Gtk::Entry()
{
signal_changed().connect(sigc::mem_fun(*this, &SearchEntry::_on_changed));
@@ -1222,7 +1222,7 @@ ImportDialog::ImportDialog(Gtk::Window& parent_window, FileDialogType file_types
label_not_found = new Gtk::Label();
label_description = new Gtk::Label();
-#if GTK_CHECK_VERSION(3,6,0)
+#if GTK_CHECK_VERSION(3,0,0)
entry_search = new Gtk::SearchEntry();
#else
entry_search = new SearchEntry();
diff --git a/src/ui/dialog/ocaldialogs.h b/src/ui/dialog/ocaldialogs.h
index 6ceceb9ef..9de24d821 100644
--- a/src/ui/dialog/ocaldialogs.h
+++ b/src/ui/dialog/ocaldialogs.h
@@ -26,7 +26,7 @@
#include <cairomm/refptr.h>
-#if GTK_CHECK_VERSION(3,6,0)
+#if GTK_CHECK_VERSION(3,0,0)
# include <gtkmm/searchentry.h>
#endif
@@ -336,7 +336,7 @@ public:
Gtk::Label* label;
};
-#if !GTK_CHECK_VERSION(3,6,0)
+#if !GTK_CHECK_VERSION(3,0,0)
/**
* A Gtk::Entry with search & clear icons
*/
@@ -460,7 +460,7 @@ private:
Glib::ustring filename_image;
Glib::ustring filename_thumbnail;
-#if GTK_CHECK_VERSION(3,6,0)
+#if GTK_CHECK_VERSION(3,0,0)
Gtk::SearchEntry *entry_search;
#else
SearchEntry *entry_search;
diff --git a/src/ui/widget/gimpcolorwheel.c b/src/ui/widget/gimpcolorwheel.c
index c857cfa8a..3642848df 100644
--- a/src/ui/widget/gimpcolorwheel.c
+++ b/src/ui/widget/gimpcolorwheel.c
@@ -1246,7 +1246,7 @@ paint_triangle (GimpColorWheel *wheel,
#endif
}
-#if GTK_CHECK_VERSION(3,2,0)
+#if GTK_CHECK_VERSION(3,0,0)
static gboolean
gimp_color_wheel_draw (GtkWidget *widget,
cairo_t *cr)