summaryrefslogtreecommitdiffstats
path: root/deskutils/gnotime/files/patch-lib::qof::qofid.c
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/gnotime/files/patch-lib::qof::qofid.c')
-rw-r--r--deskutils/gnotime/files/patch-lib::qof::qofid.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/deskutils/gnotime/files/patch-lib::qof::qofid.c b/deskutils/gnotime/files/patch-lib::qof::qofid.c
new file mode 100644
index 000000000..4a10a5e07
--- /dev/null
+++ b/deskutils/gnotime/files/patch-lib::qof::qofid.c
@@ -0,0 +1,13 @@
+--- lib/qof/qofid.c.orig Sun May 23 22:57:30 2004
++++ lib/qof/qofid.c Sun Jul 4 23:00:04 2004
+@@ -182,8 +182,9 @@
+ static void
+ qof_collection_remove_entity (QofEntity *ent)
+ {
++ QofCollection *col;
+ if (!ent) return;
+- QofCollection *col = ent->collection;
++ col = ent->collection;
+ if (!col) return;
+ g_hash_table_remove (col->hash_of_entities, &ent->guid);
+ ent->collection = NULL;