Skip to content

Commit

Permalink
Replace GTK_WIDGET_NO_WINDOW() with gtk_widget_get_has_window()
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Garcia Campos committed Mar 31, 2010
1 parent 70f79fd commit b225b63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/ev-sidebar.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit b225b63

Please sign in to comment.