]> www.fi.muni.cz Git - evince.git/commitdiff
Replace GTK_WIDGET_IS_SENSITIVE() with gtk_widget_is_sensitive()
authorHib Eris <hib@hiberis.nl>
Mon, 29 Mar 2010 14:50:39 +0000 (16:50 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Wed, 31 Mar 2010 17:12:18 +0000 (19:12 +0200)
libview/ev-annotation-window.c
shell/ev-window.c

index f4a39163f7abe689deeec5ce0346fd1880a02fa1..5a1a9a62992b0105d7c236754e1c565ee22c2aae 100644 (file)
@@ -249,7 +249,7 @@ ev_annotation_window_set_resize_cursor (GtkWidget          *widget,
        if (!widget->window)
                return;
 
-       if (GTK_WIDGET_IS_SENSITIVE (widget)) {
+       if (gtk_widget_is_sensitive (widget)) {
                GdkDisplay *display = gtk_widget_get_display (widget);
                GdkCursor  *cursor;
 
index 5f522c15ab840fdce6d6d17bfaac088f31611240..3d1ffaf0b8885937d0a76681e9dda531576f42eb 100644 (file)
@@ -4935,7 +4935,7 @@ ev_window_key_press_event (GtkWidget   *widget,
         */
        if (priv->view) {
                g_object_ref (priv->view);
-               if (GTK_WIDGET_IS_SENSITIVE (priv->view))
+               if (gtk_widget_is_sensitive (priv->view))
                        handled = gtk_widget_event (priv->view, (GdkEvent*) event);
                g_object_unref (priv->view);
        }