Skip to content

Commit

Permalink
[shell] Fix no-window check in ev_sidebar_menu_position_under()
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Garcia Campos committed Mar 31, 2010
1 parent e3ecd21 commit 72bf430
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_get_has_window (GTK_WIDGET (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 72bf430

Please sign in to comment.