]> Pileus Git - ~andy/gtk/commit
Don't call scroll to cell if the tree view is empty
authorKristian Rietveld <kris@loopnest.org>
Sun, 20 Nov 2011 17:54:20 +0000 (18:54 +0100)
committerKristian Rietveld <kris@loopnest.org>
Sun, 20 Nov 2011 19:15:48 +0000 (20:15 +0100)
commit44a064fe30f8217eb257bf56f0790db771927c13
tree95f6858d1bc71065e7ded7003c8efdc3ea4e1b3c
parenta069ec662faed7d1f02f1666f8cffdacf242fd3a
Don't call scroll to cell if the tree view is empty

Account for the case when gtk_drag_finish() didn't actually add a row
(can happen when dragging from an empty tree view to itself ...).
gtk/gtktreeview.c