aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-sidebar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-sidebar.c')
-rw-r--r--src/empathy-sidebar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/empathy-sidebar.c b/src/empathy-sidebar.c
index 7b70229e2..85a38267a 100644
--- a/src/empathy-sidebar.c
+++ b/src/empathy-sidebar.c
@@ -243,7 +243,7 @@ empathy_sidebar_menu_position_under (GtkMenu *menu,
widget = GTK_WIDGET (user_data);
- gdk_window_get_origin (widget->window, x, y);
+ gdk_window_get_origin (gtk_widget_get_window (widget), x, y);
*x += widget->allocation.x;
*y += widget->allocation.y + widget->allocation.height;