From 44f3d100e1be64618e4a58d18e2df71b23bc3bbe Mon Sep 17 00:00:00 2001 From: Hib Eris Date: Mon, 29 Mar 2010 16:50:39 +0200 Subject: [PATCH] Replace GTK_WIDGET_IS_SENSITIVE() with gtk_widget_is_sensitive() --- libview/ev-annotation-window.c | 2 +- shell/ev-window.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libview/ev-annotation-window.c b/libview/ev-annotation-window.c index f4a39163..5a1a9a62 100644 --- a/libview/ev-annotation-window.c +++ b/libview/ev-annotation-window.c @@ -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; diff --git a/shell/ev-window.c b/shell/ev-window.c index 5f522c15..3d1ffaf0 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -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); } -- 2.43.5