Commit 45f0ad8c authored by Kristian Rietveld's avatar Kristian Rietveld Committed by Kristian Rietveld

Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.

2008-05-28  Kristian Rietveld  <kris@imendio.com>

	Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.

	* gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
	->priv->tree != NULL.  Suggestion from Stefan Kost.


svn path=/trunk/; revision=20208
parent 9078a149
2008-05-28 Kristian Rietveld <kris@imendio.com>
Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
* gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
->priv->tree != NULL. Suggestion from Stefan Kost.
2008-05-28 Kristian Rietveld <kris@imendio.com>
Bug 324282 - add selected signal to cell renderer combo.
......
......@@ -12613,6 +12613,7 @@ gtk_tree_view_set_cursor_on_cell (GtkTreeView *tree_view,
gboolean start_editing)
{
g_return_if_fail (GTK_IS_TREE_VIEW (tree_view));
g_return_if_fail (tree_view->priv->tree != NULL);
g_return_if_fail (path != NULL);
if (focus_column)
g_return_if_fail (GTK_IS_TREE_VIEW_COLUMN (focus_column));
......
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