Changeset 2616
- Timestamp:
- 08/03/07 13:21:43 (6 years ago)
- Location:
- trunk/src/target/OM-2007.2/libraries/libmokojournal2
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
configure.ac (modified) (1 diff)
-
mokojournal/moko-journal.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/target/OM-2007.2/libraries/libmokojournal2/ChangeLog
r2559 r2616 1 2007-08-03 Chris Lord,,, <chris@openedhand.com> 2 3 * configure.ac: 4 * mokojournal/moko-journal.c: (on_entries_removed_cb): 5 Check for existence of ECalComponentId 6 1 7 2007-07-29 Holger Freyther <zecke@selfish.org> 2 8 -
trunk/src/target/OM-2007.2/libraries/libmokojournal2/configure.ac
r2558 r2616 15 15 # base deps 16 16 PKG_CHECK_MODULES(DEPS, libecal-1.2 >= $LIBECAL_VERSION) 17 18 # Check for existence of ECalComponentId 19 old_cflags=$CFLAGS 20 CFLAGS=$DEPS_CFLAGS 21 AC_CHECK_TYPE(ECalComponentId, [], [], [#include <libecal/e-cal.h>]) 22 23 if test $ac_cv_type_ECalComponentId = yes; then 24 AC_DEFINE(HAVE_ECALCOMPONENTID, 1, [Defined if ECalComponentId exists]) 25 fi 26 CFLAGS=$old_cflags 17 27 18 28 if test x$MOKO_DEVEL = xon ; then -
trunk/src/target/OM-2007.2/libraries/libmokojournal2/mokojournal/moko-journal.c
r2536 r2616 25 25 #include <libecal/e-cal.h> 26 26 #include <libecal/e-cal-component.h> 27 #ifdef HAVE_CONFIG 28 # include <config.h> 29 #endif 27 30 #include "moko-journal.h" 28 31 #include "moko-time-priv.h" … … 1450 1453 for (cur = a_uids ; cur ; cur = cur->next) 1451 1454 { 1452 if (cur->data) 1453 { 1454 if (!moko_journal_remove_entry_by_uid (a_journal, cur->data)) 1455 { 1456 g_message ("failed to remove entry of uid %s\n", 1457 (const char*)cur->data) ; 1458 } 1455 const gchar *uid; 1456 1457 #ifdef HAVE_ECALCOMPONENTID 1458 ECalComponentId *id = cur->data; 1459 uid = id->uid; 1460 #else 1461 uid = cur->data; 1462 #endif 1463 1464 if (!moko_journal_remove_entry_by_uid (a_journal, uid)) 1465 { 1466 g_message ("failed to remove entry of uid %s\n", uid) ; 1459 1467 } 1460 1468 }
Note: See TracChangeset
for help on using the changeset viewer.
