aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Teichman <teichman@src.gnome.org>1999-08-08 11:38:25 +0800
committerPeter Teichman <teichman@src.gnome.org>1999-08-08 11:38:25 +0800
commit1b3a69c80916d9224926af9b31b4fb7df387c6e7 (patch)
tree18d1786c33950b6ef5bd1f33d2ff72a76a229971
parentdb89b1a62fb0fa1ed57a9cdd275c0a977630a56a (diff)
downloadgsoc2013-evolution-1b3a69c80916d9224926af9b31b4fb7df387c6e7.tar
gsoc2013-evolution-1b3a69c80916d9224926af9b31b4fb7df387c6e7.tar.gz
gsoc2013-evolution-1b3a69c80916d9224926af9b31b4fb7df387c6e7.tar.bz2
gsoc2013-evolution-1b3a69c80916d9224926af9b31b4fb7df387c6e7.tar.lz
gsoc2013-evolution-1b3a69c80916d9224926af9b31b4fb7df387c6e7.tar.xz
gsoc2013-evolution-1b3a69c80916d9224926af9b31b4fb7df387c6e7.tar.zst
gsoc2013-evolution-1b3a69c80916d9224926af9b31b4fb7df387c6e7.zip
sync correctly for objects created on the pilot, but not dirty (because
* calendar-pilot-sync.c (sync_pilot): sync correctly for objects created on the pilot, but not dirty (because they have been synced with some other program in the past) svn path=/trunk/; revision=1093
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/calendar-pilot-sync.c7
-rw-r--r--calendar/gui/calendar-pilot-sync.c7
3 files changed, 12 insertions, 8 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 49293907cb..2bb6396715 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+1999-08-07 Peter Teichman <pat4@acpub.duke.edu>
+
+ * calendar-pilot-sync.c (sync_pilot): sync correctly for objects
+ created on the pilot, but not dirty (because they have been synced
+ with some other program in the past)
+
1999-07-30 Miguel de Icaza <miguel@gnu.org>
* month-view.c (month_view_init): Release points here.
diff --git a/calendar/calendar-pilot-sync.c b/calendar/calendar-pilot-sync.c
index 9461278e8b..e8261197af 100644
--- a/calendar/calendar-pilot-sync.c
+++ b/calendar/calendar-pilot-sync.c
@@ -581,10 +581,9 @@ sync_pilot (GNOME_Calendar_Repository repo, int pilot_fd)
if (attr & dlpRecAttrArchived)
continue;
- if (attr & dlpRecAttrDirty){
- printf ("updating record\n");
- update_record (repo, id, &a, attr);
- }
+ printf ("updating record\n");
+ update_record (repo, id, &a, attr);
+
conduit_free_Appointment (&a);
}
}
diff --git a/calendar/gui/calendar-pilot-sync.c b/calendar/gui/calendar-pilot-sync.c
index 9461278e8b..e8261197af 100644
--- a/calendar/gui/calendar-pilot-sync.c
+++ b/calendar/gui/calendar-pilot-sync.c
@@ -581,10 +581,9 @@ sync_pilot (GNOME_Calendar_Repository repo, int pilot_fd)
if (attr & dlpRecAttrArchived)
continue;
- if (attr & dlpRecAttrDirty){
- printf ("updating record\n");
- update_record (repo, id, &a, attr);
- }
+ printf ("updating record\n");
+ update_record (repo, id, &a, attr);
+
conduit_free_Appointment (&a);
}
}