diff options
author | Kristian Rietveld <kris@imendio.com> | 2007-10-01 09:04:57 +0000 |
---|---|---|
committer | Kristian Rietveld <kristian@src.gnome.org> | 2007-10-01 09:04:57 +0000 |
commit | 6e3df276df9fbb9b03be072908fe2702659adc32 (patch) | |
tree | 3205fb9f54c91c0e7f44ad62ebc8f6fba5ea8cba /gtk/gtktreeviewcolumn.c | |
parent | 15ae59d665b7090cae7862c5ab6f63e974e3958a (diff) | |
download | gtk+-6e3df276df9fbb9b03be072908fe2702659adc32.tar.gz |
fix up if-condition to only set the true arrow type if show_sort_indicator
2007-10-01 Kristian Rietveld <kris@imendio.com>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
fix up if-condition to only set the true arrow type if
show_sort_indicator is TRUE. (#448343, reported by Emil Nowak).
svn path=/trunk/; revision=18871
Diffstat (limited to 'gtk/gtktreeviewcolumn.c')
-rw-r--r-- | gtk/gtktreeviewcolumn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktreeviewcolumn.c b/gtk/gtktreeviewcolumn.c index 2a352d9d4a..ea8adbb813 100644 --- a/gtk/gtktreeviewcolumn.c +++ b/gtk/gtktreeviewcolumn.c @@ -926,7 +926,7 @@ gtk_tree_view_column_update_button (GtkTreeViewColumn *tree_column) NULL); if (tree_column->show_sort_indicator - || (sort_column_id >= 0 && sort_column_id == tree_column->sort_column_id)) + && (sort_column_id >= 0 && sort_column_id == tree_column->sort_column_id)) { gboolean alternative; |