Bug 655545 - condition can never be true in gtk_tree_view_real_set_cursor

Spotted by Ben Pfaff.
This commit is contained in:
Kristian Rietveld 2011-07-30 23:00:38 +02:00
parent 58ba8a7c7f
commit dca9db124b

View File

@ -13135,8 +13135,6 @@ gtk_tree_view_real_set_cursor (GtkTreeView *tree_view,
{
GtkTreeSelectMode mode = 0;
if (tree_view->priv->ctrl_pressed)
mode |= GTK_TREE_SELECT_MODE_TOGGLE;
if (tree_view->priv->shift_pressed)
mode |= GTK_TREE_SELECT_MODE_EXTEND;