gtk+ r20208 - in trunk: . gtk
- From: kristian svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20208 - in trunk: . gtk
- Date: Wed, 28 May 2008 12:20:38 +0000 (UTC)
Author: kristian
Date: Wed May 28 12:20:38 2008
New Revision: 20208
URL: http://svn.gnome.org/viewvc/gtk+?rev=20208&view=rev
Log:
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.
Modified:
trunk/ChangeLog
trunk/gtk/gtktreeview.c
Modified: trunk/gtk/gtktreeview.c
==============================================================================
--- trunk/gtk/gtktreeview.c (original)
+++ trunk/gtk/gtktreeview.c Wed May 28 12:20:38 2008
@@ -12613,6 +12613,7 @@
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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]