[evince] Replace GTK_WIDGET_NO_WINDOW() with gtk_widget_get_has_window()



commit b225b63c2b3c4451dc86b7154abc87cdc5861083
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Wed Mar 31 19:34:10 2010 +0200

    Replace GTK_WIDGET_NO_WINDOW() with gtk_widget_get_has_window()

 shell/ev-sidebar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/ev-sidebar.c b/shell/ev-sidebar.c
index f15b376..bd45f26 100644
--- a/shell/ev-sidebar.c
+++ b/shell/ev-sidebar.c
@@ -208,7 +208,7 @@ ev_sidebar_menu_position_under (GtkMenu  *menu,
 	GtkWidget *widget;
 
 	g_return_if_fail (GTK_IS_BUTTON (user_data));
-	g_return_if_fail (GTK_WIDGET_NO_WINDOW (user_data));
+	g_return_if_fail (gtk_widget_get_has_window (GTK_WIDGET (user_data)));
 
 	widget = GTK_WIDGET (user_data);
 	   



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