diff options
author | rbuj <[email protected]> | 2021-12-13 12:05:34 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-01-29 14:15:50 +0100 |
commit | 3664a2d2a6d2f18aaeadd355f2ae0bbf91b8a9c1 (patch) | |
tree | d97ee213fe891cbb579b5f8a3e13a56752a8965a /src/fr-window.c | |
parent | d2a04c51cf8ee50a390248192fdfb9a427bec6a3 (diff) | |
download | engrampa-3664a2d2a6d2f18aaeadd355f2ae0bbf91b8a9c1.tar.bz2 engrampa-3664a2d2a6d2f18aaeadd355f2ae0bbf91b8a9c1.tar.xz |
Fix some -Wfloat-conversion warnings
Diffstat (limited to 'src/fr-window.c')
-rw-r--r-- | src/fr-window.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fr-window.c b/src/fr-window.c index 01cec22..6790985 100644 --- a/src/fr-window.c +++ b/src/fr-window.c @@ -3488,7 +3488,7 @@ dir_tree_button_press_cb (GtkWidget *widget, GtkTreeIter iter; if (gtk_tree_view_get_path_at_pos (GTK_TREE_VIEW (window->priv->tree_view), - event->x, event->y, + (int) event->x, (int) event->y, &path, NULL, NULL, NULL)) { if (! gtk_tree_model_get_iter (GTK_TREE_MODEL (window->priv->tree_store), &iter, path)) { @@ -3667,7 +3667,7 @@ file_button_press_cb (GtkWidget *widget, int n_selected; if (gtk_tree_view_get_path_at_pos (GTK_TREE_VIEW (window->priv->list_view), - event->x, event->y, + (int) event->x, (int) event->y, &path, NULL, NULL, NULL)) { if (! gtk_tree_model_get_iter (GTK_TREE_MODEL (window->priv->list_store), &iter, path)) { @@ -3697,7 +3697,7 @@ file_button_press_cb (GtkWidget *widget, GtkTreePath *path = NULL; if (! gtk_tree_view_get_path_at_pos (GTK_TREE_VIEW (window->priv->list_view), - event->x, event->y, + (int) event->x, (int) event->y, &path, NULL, NULL, NULL)) { gtk_tree_selection_unselect_all (selection); } @@ -3752,7 +3752,7 @@ file_button_release_cb (GtkWidget *widget, GtkTreePath *path = NULL; if (gtk_tree_view_get_path_at_pos (GTK_TREE_VIEW (window->priv->list_view), - event->x, event->y, + (int) event->x, (int) event->y, &path, NULL, NULL, NULL)) { if ((gtk_tree_path_compare (window->priv->path_clicked, path) == 0) @@ -3800,7 +3800,7 @@ file_motion_notify_callback (GtkWidget *widget, last_hover_path = window->priv->list_hover_path; gtk_tree_view_get_path_at_pos (GTK_TREE_VIEW (widget), - event->x, event->y, + (int) event->x, (int) event->y, &window->priv->list_hover_path, NULL, NULL, NULL); |