diff options
Diffstat (limited to 'chrome/browser/gtk/bookmark_manager_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/bookmark_manager_gtk.cc | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/chrome/browser/gtk/bookmark_manager_gtk.cc b/chrome/browser/gtk/bookmark_manager_gtk.cc index 7c89476..390fda2 100644 --- a/chrome/browser/gtk/bookmark_manager_gtk.cc +++ b/chrome/browser/gtk/bookmark_manager_gtk.cc @@ -1185,7 +1185,9 @@ gboolean BookmarkManagerGtk::OnRightTreeViewButtonPress( GtkTreePath* path; gtk_tree_view_get_path_at_pos(GTK_TREE_VIEW(tree_view), - event->x, event->y, &path, NULL, NULL, NULL); + static_cast<gint>(event->x), + static_cast<gint>(event->y), + &path, NULL, NULL, NULL); if (path == NULL) return TRUE; @@ -1209,10 +1211,10 @@ gboolean BookmarkManagerGtk::OnRightTreeViewMotion( return FALSE; if (gtk_drag_check_threshold(tree_view, - bm->mousedown_event_.x, - bm->mousedown_event_.y, - event->x, - event->y)) { + static_cast<gint>(bm->mousedown_event_.x), + static_cast<gint>(bm->mousedown_event_.y), + static_cast<gint>(event->x), + static_cast<gint>(event->y))) { bm->delaying_mousedown_ = false; GtkTargetList* targets = GtkDndUtil::GetTargetListFromCodeMask( GtkDndUtil::CHROME_BOOKMARK_ITEM | |