Changeset 137602 in webkit
- Timestamp:
- Dec 13, 2012 9:13:59 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r137600 r137602 1 2012-12-13 Claudio Saavedra <csaavedra@igalia.com> 2 3 [GTK] Remove deprecated API usage 4 https://bugs.webkit.org/show_bug.cgi?id=104894 5 6 Reviewed by Martin Robinson. 7 8 Remove deprecated GTK+ API usage. 9 10 * platform/gtk/RenderThemeGtk3.cpp: 11 (WebCore::spinButtonArrowSize): Do not use deprecated 12 gtk_style_context_get_font(). 13 1 14 2012-12-13 Zeno Albisser <zeno@webkit.org> 2 15 -
trunk/Source/WebCore/platform/gtk/RenderThemeGtk3.cpp
r130612 r137602 768 768 static gint spinButtonArrowSize(GtkStyleContext* context) 769 769 { 770 const PangoFontDescription* fontDescription = gtk_style_context_get_font(context, static_cast<GtkStateFlags>(0)); 770 const PangoFontDescription* fontDescription; 771 gtk_style_context_get(context, static_cast<GtkStateFlags>(0), "font", &fontDescription, NULL); 771 772 gint fontSize = pango_font_description_get_size(fontDescription); 772 773 gint arrowSize = max(PANGO_PIXELS(fontSize), minSpinButtonArrowSize);
Note: See TracChangeset
for help on using the changeset viewer.