summaryrefslogtreecommitdiff
path: root/baobab/src/baobab-treeview.c
diff options
context:
space:
mode:
Diffstat (limited to 'baobab/src/baobab-treeview.c')
-rw-r--r--baobab/src/baobab-treeview.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/baobab/src/baobab-treeview.c b/baobab/src/baobab-treeview.c
index 8e5b7839..ed132656 100644
--- a/baobab/src/baobab-treeview.c
+++ b/baobab/src/baobab-treeview.c
@@ -102,8 +102,8 @@ on_tv_button_press (GtkWidget *widget,
GFile *file;
gtk_tree_view_get_path_at_pos (GTK_TREE_VIEW (widget),
- event->x, event->y,
- &path, NULL, NULL, NULL);
+ (gint) event->x, (gint) event->y,
+ &path, NULL, NULL, NULL);
if (!path)
return TRUE;