From f7c3702d11c37a529c17c656666e0253dc7c849e Mon Sep 17 00:00:00 2001 From: Silenio Quarti Date: Fri, 3 Aug 2012 21:15:37 -0400 Subject: Bug 385315 - Omit use of deprecated GTK_WIDGET_SET_FLAGS (error when compiling with disable deprecated --- bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h') 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 -- cgit