[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
PATCH gtk-1.3.6 gtk_tree_selection_real_select_node
- From: Joshua N Pritikin <vishnu pobox com>
- To: gtk-app-devel-list gnome org
- Subject: PATCH gtk-1.3.6 gtk_tree_selection_real_select_node
- Date: Wed, 1 Aug 2001 14:52:52 +0530
i see a few g_print's inside gtk_tree_view_*. Is this stuff still
under development? It seems like multiple selections don't work yet,
correct?
Here is a patch to avoid _gtk_tree_view_find_path unless there is a
selection user function. Are silly patches (like this) welcome?
--
Get self-realization at <http://sahajayoga.org> ... <http://why-compete.org> ?
Victory to the Divine Mother!!
--- gtktreeselection.c.orig Wed Aug 1 13:48:19 2001
+++ gtktreeselection.c Wed Aug 1 13:48:54 2001
@@ -999,15 +999,15 @@
if (GTK_RBNODE_FLAG_SET (node, GTK_RBNODE_IS_SELECTED) != select)
{
- path = _gtk_tree_view_find_path (selection->tree_view, tree, node);
if (selection->user_func)
{
+ path = _gtk_tree_view_find_path (selection->tree_view, tree, node);
if ((*selection->user_func) (selection, selection->tree_view->priv->model, path, selection->user_data))
selected = TRUE;
+ gtk_tree_path_free (path);
}
else
selected = TRUE;
- gtk_tree_path_free (path);
}
if (selected == TRUE)
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]