Author: kristian
Date: Wed Feb 13 11:53:35 2008
New Revision: 19556
URL: http://svn.gnome.org/viewvc/gtk+?rev=19556&view=rev

Log:
2008-02-13  Kristian Rietveld  <[EMAIL PROTECTED]>

        * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
        queue a redraw if the rubber banding has actually been active.



Modified:
   trunk/ChangeLog
   trunk/gtk/gtktreeview.c

Modified: trunk/gtk/gtktreeview.c
==============================================================================
--- trunk/gtk/gtktreeview.c     (original)
+++ trunk/gtk/gtktreeview.c     Wed Feb 13 11:53:35 2008
@@ -3675,12 +3675,12 @@
   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,
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Want to limit the commits to a few modules? Go to above URL, log in to edit 
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development 
mailing list. Email [EMAIL PROTECTED] if interested.

Reply via email to