im.pidgin.pidgin: bb8516123d8be7fa56a529682b80c7462e0f1758
sadrul at pidgin.im
sadrul at pidgin.im
Tue Jan 22 20:35:44 EST 2008
-----------------------------------------------------------------
Revision: bb8516123d8be7fa56a529682b80c7462e0f1758
Ancestor: fc87975007b30f1d79967289b9f95196b527192b
Author: sadrul at pidgin.im
Date: 2008-01-23T00:54:25
Branch: im.pidgin.pidgin
Modified files:
finch/libgnt/gnttree.c
ChangeLog:
This is supposed to return the key, not the row itself.
-------------- next part --------------
============================================================
--- finch/libgnt/gnttree.c 039ec1daeec31397b72c190a7524bad969475d12
+++ finch/libgnt/gnttree.c 868dc1fc524b1e9fe9f1a4e935f704182cf1c1a4
@@ -1844,6 +1844,6 @@ gpointer gnt_tree_get_parent_key(GntTree
gpointer gnt_tree_get_parent_key(GntTree *tree, gpointer key)
{
GntTreeRow *row = g_hash_table_lookup(tree->hash, key);
- return row ? row->parent : NULL;
+ return (row && row->parent) ? row->parent->key : NULL;
}
More information about the Commits
mailing list