stop the rubber band if it's active.

2007-05-02  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_grab_notify): stop the rubber band
	if it's active.


svn path=/trunk/; revision=17770
This commit is contained in:
Kristian Rietveld 2007-05-02 08:08:39 +00:00 committed by Kristian Rietveld
parent fdd5aa6e5b
commit ba51caa966
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-05-02 Kristian Rietveld <kris@imendio.com>
* gtk/gtktreeview.c (gtk_tree_view_grab_notify): stop the rubber band
if it's active.
2007-05-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconcachevalidator.c: Don't be too strict when checking

View File

@ -14610,7 +14610,12 @@ gtk_tree_view_grab_notify (GtkWidget *widget,
tree_view->priv->in_grab = !was_grabbed;
if (!was_grabbed)
tree_view->priv->pressed_button = -1;
{
tree_view->priv->pressed_button = -1;
if (tree_view->priv->rubber_band_status)
gtk_tree_view_stop_rubber_band (tree_view);
}
}
static void