diff options
author | Anatoly Spektor <aspektor@redhat.com> | 2012-09-18 11:09:15 -0400 |
---|---|---|
committer | Anatoly Spektor <aspektor@redhat.com> | 2012-09-18 11:09:15 -0400 |
commit | 1c3fc1cd0c95a7d8a4adc4e3451ff1ded5d12cbe (patch) | |
tree | c199e1b46f2e542a6c136e93c9fb7fd8679e152b | |
parent | d0cffaa91f6424994b0d3d5023c5960d31bcf6fb (diff) | |
download | eclipse.platform.swt-make_dynamic_flags.tar.gz eclipse.platform.swt-make_dynamic_flags.tar.xz eclipse.platform.swt-make_dynamic_flags.zip |
define GTK_WIDGET_FLAGS to avoid compilation error against GTK+ 3make_dynamic_flags
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h index 08633b994f..c1d1a65035 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h @@ -388,6 +388,9 @@ #define g_object_ref_sink_LIB LIB_GOBJECT /* Field accessors */ +#if GTK_CHECK_VERSION(3,0,0) +#define GTK_WIDGET_FLAGS(arg0) 0 +#endif #define G_OBJECT_CLASS_CONSTRUCTOR(arg0) (arg0)->constructor #define G_OBJECT_CLASS_SET_CONSTRUCTOR(arg0, arg1) (arg0)->constructor = (GObject* (*) (GType, guint, GObjectConstructParam *))arg1 #if GTK_CHECK_VERSION(3,0,0) |