summary refs log tree commit diff stats
path: root/src/fe-gtk/chanlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-gtk/chanlist.c')
-rw-r--r--src/fe-gtk/chanlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/chanlist.c b/src/fe-gtk/chanlist.c
index 11a20061..bfd95c87 100644
--- a/src/fe-gtk/chanlist.c
+++ b/src/fe-gtk/chanlist.c
@@ -615,7 +615,7 @@ chanlist_button_cb (GtkTreeView *tree, GdkEventButton *event, server *serv)
 
 	menu = gtk_menu_new ();
 	if (event->window)
-		gtk_menu_set_screen (GTK_MENU (menu), gdk_drawable_get_screen (event->window));
+		gtk_menu_set_screen (GTK_MENU (menu), gdk_window_get_screen (event->window));
 	g_object_ref (menu);
 	g_object_ref_sink (menu);
 	g_object_unref (menu);