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
This commit is contained in:
Kristian Rietveld 2007-10-01 09:04:57 +00:00 committed by Kristian Rietveld
parent 15ae59d665
commit 6e3df276df
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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).
2007-09-25 Emmanuele Bassi <ebassi@gnome.org>
Fixes for bug #480123.

View File

@ -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;