| author | Anatoly Spektor | 2012-07-10 15:00:15 (EDT) |
|---|---|---|
| committer | Silenio Quarti | 2012-08-01 14:55:27 (EDT) |
| commit | 81a2c84649a4453c790d7b6a9f36522a82f5f56a (patch) (side-by-side diff) | |
| tree | c1b824d45f9c6b68c6487858180f58827736d14d | |
| parent | f1673e5c2c5db30d58829f2b5e01e44a00b773f5 (diff) | |
| download | eclipse.platform.swt-81a2c84649a4453c790d7b6a9f36522a82f5f56a.zip eclipse.platform.swt-81a2c84649a4453c790d7b6a9f36522a82f5f56a.tar.gz eclipse.platform.swt-81a2c84649a4453c790d7b6a9f36522a82f5f56a.tar.bz2 | |
Removes warning for GTK_WIDGET_MAPPED when gtk deprecated is disabled
| -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 7656883..11a7ba3 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 @@ -368,6 +368,9 @@ #endif #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 |

