diff options
author | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2012-08-03 21:15:37 -0400 |
---|---|---|
committer | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2012-08-03 21:15:37 -0400 |
commit | f7c3702d11c37a529c17c656666e0253dc7c849e (patch) | |
tree | 3dec3c9adc5f139ff530687c558fe49bdfc0150f | |
parent | 6a88076d643ac9b570062b746912ac639cf39eaf (diff) | |
download | eclipse.platform.swt-f7c3702d11c37a529c17c656666e0253dc7c849e.tar.gz eclipse.platform.swt-f7c3702d11c37a529c17c656666e0253dc7c849e.tar.xz eclipse.platform.swt-f7c3702d11c37a529c17c656666e0253dc7c849e.zip |
Bug 385315 - Omit use of deprecated GTK_WIDGET_SET_FLAGS (error when compiling with disable deprecated
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h | 8 |
1 files changed, 7 insertions, 1 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 910a624466..8783dcf1af 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 @@ -382,8 +382,14 @@ #ifndef GTK_WIDGET_SENSITIVE #define GTK_WIDGET_SENSITIVE(arg0) 0 #endif +#ifndef GTK_WIDGET_SET_FLAGS +#define GTK_WIDGET_SET_FLAGS(arg0, arg1) +#endif +#ifndef GTK_WIDGET_UNSET_FLAGS +#define GTK_WIDGET_UNSET_FLAGS(arg0, arg1) +#endif #ifndef GTK_OBJECT_FLAGS -#define GTK_OBJECT_FLAGS(arg0) 0 +#define GTK_OBJECT_FLAGS(arg0) arg0 #endif #ifndef GTK_WIDGET_VISIBLE #define GTK_WIDGET_VISIBLE(arg0) 0 |