r2218 - trunk/src/target/OM-2007/openmoko-libs/libmokojournal/src
njp at sita.openmoko.org
njp at sita.openmoko.org
Tue Jun 12 13:10:19 CEST 2007
Author: njp
Date: 2007-06-12 13:10:19 +0200 (Tue, 12 Jun 2007)
New Revision: 2218
Modified:
trunk/src/target/OM-2007/openmoko-libs/libmokojournal/src/moko-journal.c
Log:
Call notify_entry_added on pre-existing entries as well as those that are new
Modified: trunk/src/target/OM-2007/openmoko-libs/libmokojournal/src/moko-journal.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokojournal/src/moko-journal.c 2007-06-12 10:54:40 UTC (rev 2217)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokojournal/src/moko-journal.c 2007-06-12 11:10:19 UTC (rev 2218)
@@ -999,6 +999,7 @@
g_return_val_if_fail (a_entry, FALSE) ;
g_array_append_val (a_journal->entries, a_entry) ;
+
return TRUE ;
}
@@ -1313,6 +1314,8 @@
&offset))
{
/*we already have the component in memory, ignore it*/
+ if (entry)
+ notify_entry_added (a_journal, entry);
continue ;
}
/*****************
More information about the commitlog
mailing list