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
This commit is contained in:
Kristian Rietveld 2008-05-28 12:20:38 +00:00 committed by Kristian Rietveld
parent 9078a149a8
commit 45f0ad8cf5
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,10 @@
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.

View File

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