[evince] Replace GTK_WIDGET_IS_SENSITIVE() with gtk_widget_is_sensitive()



commit 44f3d100e1be64618e4a58d18e2df71b23bc3bbe
Author: Hib Eris <hib hiberis nl>
Date:   Mon Mar 29 16:50:39 2010 +0200

    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 f4a3916..5a1a9a6 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 5f522c1..3d1ffaf 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);
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]