summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Rietveld <kris@imendio.com>2007-10-01 09:04:57 +0000
committerKristian Rietveld <kristian@src.gnome.org>2007-10-01 09:04:57 +0000
commit6e3df276df9fbb9b03be072908fe2702659adc32 (patch)
tree3205fb9f54c91c0e7f44ad62ebc8f6fba5ea8cba
parent15ae59d665b7090cae7862c5ab6f63e974e3958a (diff)
downloadgtk+-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
-rw-r--r--ChangeLog6
-rw-r--r--gtk/gtktreeviewcolumn.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cc40155808..2491780444 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
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;