Changeset 83319 in webkit
- Timestamp:
- Apr 8, 2011 11:47:55 AM (13 years ago)
- Location:
- trunk/Source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r83316 r83319 1 2011-04-08 Martin Robinson <mrobinson@igalia.com> 2 3 Reviewed by Xan Lopez. 4 5 [GTK] Fix the WebKit2 build for older versions of GTK+ 6 https://bugs.webkit.org/show_bug.cgi?id=58095 7 8 No new tests. This is just a build fix. 9 10 * platform/gtk/GtkVersioning.c: 11 (gdk_window_create_similar_surface): Reimplement this method for older versions of GDK. 12 * platform/gtk/GtkVersioning.h: Add the new method to the header. 13 1 14 2011-04-08 Misha Tyutyunik <michael.tyutyunik@nokia.com> 2 15 -
trunk/Source/WebCore/platform/gtk/GtkVersioning.c
r72722 r83319 272 272 #endif 273 273 274 #if !GTK_CHECK_VERSION(2, 22, 0) 275 cairo_surface_t *gdk_window_create_similar_surface(GdkWindow *window, cairo_content_t content, int width, int height) 276 { 277 cairo_t *cairoContext = gdk_cairo_create(window); 278 cairo_surface_t *cairoSurface = cairo_get_target(cairoContext); 279 cairo_surface_t *newSurface = cairo_surface_create_similar(cairoSurface, content, width, height); 280 cairo_destroy(cairoContext); 281 return newSurface; 282 } 283 #endif // GTK_CHECK_VERSION(2, 22, 0) -
trunk/Source/WebCore/platform/gtk/GtkVersioning.h
r77960 r83319 46 46 #define gdk_window_get_visual gdk_drawable_get_visual 47 47 #endif // GTK_CHECK_VERSION(2, 23, 0) 48 49 #if !GTK_CHECK_VERSION(2, 22, 0) 50 cairo_surface_t* gdk_window_create_similar_surface(GdkWindow* window, cairo_content_t content, int width, int height); 51 #endif // GTK_CHECK_VERSION(2, 22, 0) 48 52 49 53 #if !GTK_CHECK_VERSION(2, 21, 2) -
trunk/Source/WebKit2/ChangeLog
r83307 r83319 1 2011-04-08 Martin Robinson <mrobinson@igalia.com> 2 3 Reviewed by Xan Lopez. 4 5 [GTK] Fix the WebKit2 build for older versions of GTK+ 6 https://bugs.webkit.org/show_bug.cgi?id=58095 7 8 * UIProcess/gtk/ChunkedUpdateDrawingAreaProxyGtk.cpp: Include the GtkVersioning.h header. 9 1 10 2011-04-07 Balazs Kelemen <kbalazs@webkit.org> 2 11 -
trunk/Source/WebKit2/UIProcess/gtk/ChunkedUpdateDrawingAreaProxyGtk.cpp
r78350 r83319 33 33 #include "WebProcessProxy.h" 34 34 #include "WebView.h" 35 35 #include <WebCore/GtkVersioning.h> 36 36 #include <gdk/gdk.h> 37 37
Note: See TracChangeset
for help on using the changeset viewer.