Changeset 55989 in webkit


Ignore:
Timestamp:
Mar 15, 2010 1:34:45 AM (14 years ago)
Author:
Philippe Normand
Message:

2010-03-09 Philippe Normand <pnormand@igalia.com>

Reviewed by Holger Freyther.

[GTK] GTK_WIDGET_IS_SENSITIVE is deprecated in GTK+ 2.20
https://bugs.webkit.org/show_bug.cgi?id=35909

  • webkit/webkitwebview.cpp: GTK_WIDGET_IS_SENSITIVE has been deprecated in gtk 2.20. Use gtk_widget_is_sensitive when available.
Location:
trunk/WebKit/gtk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/gtk/ChangeLog

    r55915 r55989  
     12010-03-09  Philippe Normand  <pnormand@igalia.com>
     2
     3        Reviewed by Holger Freyther.
     4
     5        [GTK] GTK_WIDGET_IS_SENSITIVE is deprecated in GTK+ 2.20
     6        https://bugs.webkit.org/show_bug.cgi?id=35909
     7
     8        * webkit/webkitwebview.cpp: GTK_WIDGET_IS_SENSITIVE has been
     9        deprecated in gtk 2.20. Use gtk_widget_is_sensitive when available.
     10
    1112010-03-12  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
    212
  • trunk/WebKit/gtk/webkit/webkitwebview.cpp

    r55915 r55989  
    689689static void webkit_web_view_grab_focus(GtkWidget* widget)
    690690{
     691
     692#if GTK_CHECK_VERSION(2, 18, 0)
     693    if (gtk_widget_is_sensitive(widget)) {
     694#else
    691695    if (GTK_WIDGET_IS_SENSITIVE(widget)) {
     696#endif
    692697        WebKitWebView* webView = WEBKIT_WEB_VIEW(widget);
    693698        FocusController* focusController = core(webView)->focusController();
Note: See TracChangeset for help on using the changeset viewer.