summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--gtk/gtktreeview.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c0b66e3ef6..5e5278ecf2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2007-09-14 Kristian Rietveld <kris@gtk.org>
+ * gtk/gtktreeview.c (gtk_tree_view_get_property): the tooltip-column
+ property getter needs to set an integer, not a boolean. (#476689,
+ spotted and patch by Christian Persch).
+
+2007-09-14 Kristian Rietveld <kris@gtk.org>
+
* gtk/gtkcellrendereraccel.c (gtk_cell_renderer_accel_get_property):
implement getter for keycode property. (#476665, patch by
Christian Persch).
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 5de6080e48..1b2e687f49 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -1507,7 +1507,7 @@ gtk_tree_view_get_property (GObject *object,
g_value_set_boolean (value, tree_view->priv->tree_lines_enabled);
break;
case PROP_TOOLTIP_COLUMN:
- g_value_set_boolean (value, tree_view->priv->tooltip_column);
+ g_value_set_int (value, tree_view->priv->tooltip_column);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);