mirror of https://github.com/GNOME/gimp.git
app: make GimpScaleComboBox build with GTK+ >= 2.23.1
This commit is contained in:
parent
d3c97238a3
commit
8c65edcc55
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue