Commit 69688c4a authored by Sébastien Lafargue's avatar Sébastien Lafargue

file-browser: fix tree view cast

parent a7bd73f1
......@@ -2630,7 +2630,7 @@ static gboolean
on_treeview_popup_menu (GeditFileBrowserView *treeview,
GeditFileBrowserWidget *obj)
return popup_menu (obj, treeview, NULL, gtk_tree_view_get_model (GTK_TREE_VIEW (treeview)));
return popup_menu (obj, GTK_TREE_VIEW (treeview), NULL, gtk_tree_view_get_model (GTK_TREE_VIEW (treeview)));
static gboolean
......@@ -2640,7 +2640,7 @@ on_treeview_button_press_event (GeditFileBrowserView *treeview,
if (event->type == GDK_BUTTON_PRESS && event->button == GDK_BUTTON_SECONDARY)
return popup_menu (obj,
GTK_TREE_VIEW (treeview),
gtk_tree_view_get_model (GTK_TREE_VIEW (treeview)));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment