summaryrefslogtreecommitdiff
path: root/gtk/gtktreeprivate.h
diff options
context:
space:
mode:
authorKristian Rietveld <kris@gtk.org>2009-12-21 22:33:59 +0100
committerKristian Rietveld <kris@gtk.org>2009-12-21 22:42:15 +0100
commitf59294fd938065a3b306689343bf515b8eb633d7 (patch)
tree2cd51e5b9787d8c8ccd9207cfc7369a009c0b6d0 /gtk/gtktreeprivate.h
parentf223577a88730a03686935e6d319006595480bd2 (diff)
downloadgtk+-f59294fd938065a3b306689343bf515b8eb633d7.tar.gz
Correct problems with earlier fix for bug #480065
Initialize event_last_[xy] to out of range coordinates and also update these values in enter and leave notify. Fix up calls to update_prelight() from size allocate. Unconditionally doing these calls caused problems with hover selection. Now we only do this call when the "width before the expander column" has changed. (Which might be awkward, but it is the best heuristic I could come up with so far).
Diffstat (limited to 'gtk/gtktreeprivate.h')
-rw-r--r--gtk/gtktreeprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtktreeprivate.h b/gtk/gtktreeprivate.h
index dd0cf8d2a9..c44d61813d 100644
--- a/gtk/gtktreeprivate.h
+++ b/gtk/gtktreeprivate.h
@@ -175,6 +175,8 @@ struct _GtkTreeViewPrivate
GList *column_drag_info;
GtkTreeViewColumnReorder *cur_reorder;
+ gint prev_width_before_expander;
+
/* Interactive Header reordering */
GdkWindow *drag_window;
GdkWindow *drag_highlight_window;