Changeset 153035 in webkit
- Timestamp:
- Jul 23, 2013 2:49:31 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r153032 r153035 1 2013-07-23 Zan Dobersek <zdobersek@igalia.com> 2 3 [GTK] Mock GDK_IS_X11_DISPLAY macro can be redefined unnecessarily 4 https://bugs.webkit.org/show_bug.cgi?id=118980 5 6 Reviewed by Martin Robinson. 7 8 * platform/gtk/GtkVersioning.h: Only define the GDK_IS_X11_DISPLAY macro when using the GTK+ 2 API version 9 as that's the only supported configuration where the macro is not defined. Definining it only if it's not 10 yet defined at the time of inclusion of this header can cause redefinitions in GTK+ headers that are normally 11 included later. 12 1 13 2013-07-22 Beth Dakin <bdakin@apple.com> 2 14 -
trunk/Source/WebCore/platform/gtk/GtkVersioning.h
r152552 r153035 37 37 int width, int height); 38 38 void gdk_screen_get_monitor_workarea(GdkScreen *, int monitor, GdkRectangle *area); 39 // Define GDK_IS_X11_DISPLAY dummy for GTK+ 2.0 compatibility. 40 #ifdef GDK_WINDOWING_X11 41 #define GDK_IS_X11_DISPLAY(display) 1 42 #else 43 #define GDK_IS_X11_DISPLAY(display) 0 44 #endif 39 45 #endif 40 46 … … 47 53 #endif 48 54 49 // Define GDK_IS_X11_DISPLAY dummy for GTK+ 2.0 compatibility.50 #ifndef GDK_IS_X11_DISPLAY51 #ifdef GDK_WINDOWING_X1152 #define GDK_IS_X11_DISPLAY(display) 153 #else54 #define GDK_IS_X11_DISPLAY(display) 055 #endif56 #endif57 58 55 G_END_DECLS 59 56
Note: See TracChangeset
for help on using the changeset viewer.