diff options
author | Anatoly Spektor <aspektor@redhat.com> | 2012-07-10 15:00:15 -0400 |
---|---|---|
committer | Anatoly Spektor <aspektor@redhat.com> | 2012-07-10 15:00:15 -0400 |
commit | 12b010ae94e91bdac9616960c2cd8c821b320b7f (patch) | |
tree | aae3de2a4df4fc2a27efdc8b1ebebd381b2a3e9f | |
parent | 671137a729329d82da98deb43e7e7fb4550c21be (diff) | |
download | eclipse.platform.swt-gtk_widget_get_mapped.tar.gz eclipse.platform.swt-gtk_widget_get_mapped.tar.xz eclipse.platform.swt-gtk_widget_get_mapped.zip |
Removes warning for GTK_WIDGET_MAPPED when gtk deprecated is disabledgtk_widget_get_mapped
-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 f36c198ffd..b9fa9ba6bb 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 @@ -339,6 +339,9 @@ #define GTK_SCROLLED_WINDOW_VSCROLLBAR(arg0) (arg0)->vscrollbar #define GTK_WIDGET_HEIGHT(arg0) (arg0)->allocation.height #define GTK_WIDGET_SET_HEIGHT(arg0, arg1) (arg0)->allocation.height = arg1 +#ifndef GTK_WIDGET_MAPPED +#define GTK_WIDGET_MAPPED(arg0) 0 +#endif #define GTK_WIDGET_WIDTH(arg0) (arg0)->allocation.width #define GTK_WIDGET_SET_WIDTH(arg0, arg1) (arg0)->allocation.width = arg1 #define GTK_WIDGET_WINDOW(arg0) (arg0)->window |