Commit ecefbe84 authored by Kristian Rietveld's avatar Kristian Rietveld Committed by Kristian Rietveld

the tooltip-column property getter needs to set an integer, not a boolean.

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).


svn path=/trunk/; revision=18818
parent e523ba2c
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):
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment