Changeset 75397 in webkit
- Timestamp:
- Jan 10, 2011 11:29:39 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r75394 r75397 1 2011-01-10 Alejandro G. Castro <alex@igalia.com> 2 3 Reviewed by Xan Lopez. 4 5 [GTK] Fix gtk2 compilation for master 6 https://bugs.webkit.org/show_bug.cgi?id=51885 7 8 * platform/gtk/GtkVersioning.h: Replaced the 2.24.0 check with 9 2.23.0 to avoid using the old symbols in the 2.23 releases. Added 10 support for gdk_pixmap_get_size before the 2.23.4. 11 * platform/gtk/WidgetRenderingContextGtk2.cpp: 12 (WebCore::WidgetRenderingContext::WidgetRenderingContext): 13 Replaced the old gdk_drawable_get_size with gdk_pixmap_get_size. 14 1 15 2011-01-10 Ryosuke Niwa <rniwa@webkit.org> 2 16 -
trunk/Source/WebCore/platform/gtk/GtkVersioning.h
r74496 r75397 38 38 #endif 39 39 40 #if !GTK_CHECK_VERSION(2, 24, 0) 40 #if !GTK_CHECK_VERSION(2, 23, 4) 41 #define gdk_pixmap_get_size gdk_drawable_get_size 42 #endif // GTK_CHECK_VERSION(2, 23, 4) 43 44 #if !GTK_CHECK_VERSION(2, 23, 0) 41 45 #define gdk_window_get_display(window) gdk_drawable_get_display(window) 42 #ifdef GDK_DISABLE_DEPRECATED43 46 #define gdk_window_get_visual gdk_drawable_get_visual 44 #endif 45 #endif // GTK_CHECK_VERSION(2, 24, 0) 47 #endif // GTK_CHECK_VERSION(2, 23, 0) 46 48 47 49 #if !GTK_CHECK_VERSION(2, 21, 2) -
trunk/Source/WebCore/platform/gtk/WidgetRenderingContextGtk2.cpp
r74129 r75397 33 33 34 34 #include "GraphicsContext.h" 35 #include "GtkVersioning.h" 35 36 #include "RefPtrCairo.h" 36 37 #include "RenderThemeGtk.h" … … 108 109 int scratchHeight = 0; 109 110 if (gScratchBuffer) 110 gdk_ drawable_get_size(gScratchBuffer, &scratchWidth, &scratchHeight);111 gdk_pixmap_get_size(gScratchBuffer, &scratchWidth, &scratchHeight); 111 112 112 113 // We do not need to recreate the buffer if the current buffer is large enough. -
trunk/Tools/ChangeLog
r75396 r75397 1 2011-01-10 Alejandro G. Castro <alex@igalia.com> 2 3 Reviewed by Xan Lopez. 4 5 [GTK] Fix gtk2 compilation for master 6 https://bugs.webkit.org/show_bug.cgi?id=51885 7 8 * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp: 9 (createBitmapContextFromWebView): Replaced the old 10 gdk_drawable_get_size with gdk_pixmap_get_size. 11 1 12 2011-01-10 Patrick Gansterer <paroga@webkit.org> 2 13 -
trunk/Tools/DumpRenderTree/gtk/PixelDumpSupportGtk.cpp
r69294 r75397 31 31 32 32 #include "DumpRenderTree.h" 33 #include "GtkVersioning.h" 33 34 #include "PixelDumpSupportCairo.h" 34 35 #include <webkit/webkit.h> … … 40 41 #ifdef GTK_API_VERSION_2 41 42 GdkPixmap* pixmap = gtk_widget_get_snapshot(GTK_WIDGET(view), 0); 42 gdk_ drawable_get_size(GDK_DRAWABLE(pixmap), &width, &height);43 gdk_pixmap_get_size(pixmap, &width, &height); 43 44 #else 44 45 width = gtk_widget_get_allocated_width(GTK_WIDGET(view)); -
trunk/WebKit/gtk/ChangeLog
r75362 r75397 1 2011-01-10 Alejandro G. Castro <alex@igalia.com> 2 3 Reviewed by Xan Lopez. 4 5 [GTK] Fix gtk2 compilation for master 6 https://bugs.webkit.org/show_bug.cgi?id=51885 7 8 * webkit/webkitsoupauthdialog.c: 9 (show_auth_dialog): Removed the call to 10 gtk_dialog_set_has_separator API to remove a warning. 11 1 12 2011-01-10 Xan Lopez <xlopez@igalia.com> 2 13 -
trunk/WebKit/gtk/webkit/webkitsoupauthdialog.c
r69655 r75397 227 227 228 228 /* Set the dialog up with HIG properties */ 229 #ifdef GTK_API_VERSION_2230 gtk_dialog_set_has_separator(dialog, FALSE);231 #endif232 229 gtk_container_set_border_width(GTK_CONTAINER(dialog), 5); 233 230 gtk_box_set_spacing(GTK_BOX(gtk_dialog_get_content_area(dialog)), 2); /* 2 * 5 + 2 = 12 */
Note: See TracChangeset
for help on using the changeset viewer.