Changeset 73603 in webkit
- Timestamp:
- Dec 9, 2010 3:18:48 AM (13 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r73602 r73603 1 2010-12-09 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> 2 3 Build fix for GTK+3. Use functions added for GTK+ 2.24 to get the 4 GDK window size. 5 6 * plugins/gtk/gtk2xtbin.c: 7 (gtk_xtbin_realize): 8 1 9 2010-12-09 Siddharth Mathur <siddharth.mathur@nokia.com> 2 10 -
trunk/WebCore/plugins/gtk/gtk2xtbin.c
r70677 r73603 275 275 GtkAllocation widget_allocation; 276 276 #endif 277 278 #ifdef DEBUG_XTBIN 279 printf("gtk_xtbin_realize()\n"); 280 #endif 281 282 g_return_if_fail (GTK_IS_XTBIN (widget)); 283 284 xtbin = GTK_XTBIN (widget); 285 286 /* caculate the allocation before realize */ 287 #if GTK_CHECK_VERSION(2, 24, 0) 288 allocation.width = gdk_window_get_width(xtbin->parent_window); 289 allocation.height = gdk_window_get_height(xtbin->parent_window); 290 #else 277 291 gint x, y, w, h, d; /* geometry of window */ 278 279 #ifdef DEBUG_XTBIN280 printf("gtk_xtbin_realize()\n");281 #endif282 283 g_return_if_fail (GTK_IS_XTBIN (widget));284 285 xtbin = GTK_XTBIN (widget);286 287 /* caculate the allocation before realize */288 292 gdk_window_get_geometry(xtbin->parent_window, &x, &y, &w, &h, &d); 289 293 allocation.width = w; 290 294 allocation.height = h; 295 #endif 291 296 gtk_widget_size_allocate (widget, &allocation); 292 297
Note: See TracChangeset
for help on using the changeset viewer.