Commit 8c65edcc authored by Michael Natterer's avatar Michael Natterer 😴

app: make GimpScaleComboBox build with GTK+ >= 2.23.1

parent d3c97238
......@@ -22,6 +22,16 @@
#define __GIMP_SCALE_COMBO_BOX_H__
#if GTK_CHECK_VERSION(2,23,1)
#undef GTK_DISABLE_DEPRECATED
#undef GTK_DISABLE_SINGLE_INCLUDES
#undef __GTK_COMBO_BOX_ENTRY_H__
#include <gtk/gtkcomboboxentry.h>
#define GTK_DISABLE_SINGLE_INCLUDES
#define GTK_DISABLE_DEPRECATED
#endif
#define GIMP_TYPE_SCALE_COMBO_BOX (gimp_scale_combo_box_get_type ())
#define GIMP_SCALE_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_SCALE_COMBO_BOX, GimpScaleComboBox))
#define GIMP_SCALE_COMBO_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GIMP_TYPE_SCALE_COMBO_BOX, GimpScaleComboBoxClass))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment