mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
only queue a redraw if the rubber banding has actually been active.
2008-02-13 Kristian Rietveld <kris@imendio.com> * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only queue a redraw if the rubber banding has actually been active. svn path=/trunk/; revision=19556
This commit is contained in:
parent
64264326c0
commit
ddf4aa8b3e
@ -1,3 +1,8 @@
|
||||
2008-02-13 Kristian Rietveld <kris@imendio.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
|
||||
queue a redraw if the rubber banding has actually been active.
|
||||
|
||||
2008-02-12 Matthias Clasen <mclasne@redhat.com>
|
||||
|
||||
* gtk/gtkpapersize.c:
|
||||
|
@ -3675,12 +3675,12 @@ gtk_tree_view_stop_rubber_band (GtkTreeView *tree_view)
|
||||
remove_scroll_timeout (tree_view);
|
||||
gtk_grab_remove (GTK_WIDGET (tree_view));
|
||||
|
||||
gtk_widget_queue_draw (GTK_WIDGET (tree_view));
|
||||
|
||||
if (tree_view->priv->rubber_band_status == RUBBER_BAND_ACTIVE)
|
||||
{
|
||||
GtkTreePath *tmp_path;
|
||||
|
||||
gtk_widget_queue_draw (GTK_WIDGET (tree_view));
|
||||
|
||||
/* The anchor path should be set to the start path */
|
||||
tmp_path = _gtk_tree_view_find_path (tree_view,
|
||||
tree_view->priv->rubber_band_start_tree,
|
||||
|
Loading…
Reference in New Issue
Block a user