diff options
author | Timm Bäder <mail@baedert.org> | 2017-05-20 14:18:11 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-07-19 21:27:13 -0400 |
commit | 2ac8ebe9f78fd4e1e057337c2f9d491f5aab0c74 (patch) | |
tree | dc0d86ba122e948c55a1f338150028caf825d070 | |
parent | 70a58fd83a2b27e432030724563b2b38fbfadcaa (diff) | |
download | gtk+-2ac8ebe9f78fd4e1e057337c2f9d491f5aab0c74.tar.gz |
treeview: default to width_changed = TRUE
Checking the given GtkAllocation against the current allocation insize
::size-allocate doesn't really work anymore. They are only different if
the content allocation (the one passed) and the widget allocation (the
current one) are different, so e.g. when the widget has padding >0
applied.
-rw-r--r-- | gtk/gtktreeview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index b9af41bd74..21d10d6c4e 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -2602,7 +2602,7 @@ gtk_tree_view_size_allocate (GtkWidget *widget, { GtkTreeView *tree_view = GTK_TREE_VIEW (widget); GList *tmp_list; - gboolean width_changed = FALSE; + gboolean width_changed = TRUE; gint old_width; double page_size; |