Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jberkman
evolution-exchange-2.6
bgo-334727-ee-fix-random-hide-event.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bgo-334727-ee-fix-random-hide-event.diff of Package evolution-exchange-2.6
Index: calendar/e-cal-backend-exchange-calendar.c =================================================================== RCS file: /cvs/gnome/evolution-exchange/calendar/e-cal-backend-exchange-calendar.c,v retrieving revision 1.55 diff -u -p -r1.55 e-cal-backend-exchange-calendar.c --- calendar/e-cal-backend-exchange-calendar.c 4 Apr 2006 08:24:39 -0000 1.55 +++ calendar/e-cal-backend-exchange-calendar.c 18 Apr 2006 07:57:31 -0000 @@ -177,7 +177,7 @@ add_vevent (ECalBackendExchange *cbex, /* Now add to the cache */ status = e_cal_backend_exchange_add_object (cbex, href, lastmod, icalcomp); - return (status == GNOME_Evolution_Calendar_Success); + return status; } /* Add the event to the cache, Notify the backend if it is sucessfully added */ @@ -233,7 +233,9 @@ add_ical (ECalBackendExchange *cbex, con status = add_vevent (cbex, href, lastmod, icalcomp); if (status) { - e_cal_backend_notify_object_created (backend, icalcomponent_as_ical_string (icalcomp)); + char *object = g_strdup (icalcomponent_as_ical_string (icalcomp)); + e_cal_backend_notify_object_created (backend, object); + g_free (object); } icalcomponent_free (icalcomp); @@ -266,7 +268,9 @@ add_ical (ECalBackendExchange *cbex, con status = add_vevent (cbex, href, lastmod, new_comp); if (status) { - e_cal_backend_notify_object_created (backend, icalcomponent_as_ical_string (new_comp)); + char *object = g_strdup (icalcomponent_as_ical_string (new_comp)); + e_cal_backend_notify_object_created (backend, object); + g_free (object); } icalcomponent_free (new_comp); @@ -1561,14 +1565,16 @@ receive_objects (ECalBackendSync *backen g_free (old_object); } else if (!check_owner_partstatus_for_declined (backend, subcomp)) { d(printf ("object : %s .. not found in the cache\n", uid)); - char *returned_uid, *old; + char *returned_uid, *old, *object; icalobj = (char *) icalcomponent_as_ical_string (subcomp); d(printf ("Create a new object : %s\n", icalobj)); status = create_object (backend, cal, &icalobj, &returned_uid); if (status != GNOME_Evolution_Calendar_Success) goto error; + object = g_strdup (icalobj); e_cal_backend_notify_object_created (E_CAL_BACKEND (backend), icalobj); + g_free (object); d(printf ("Notify that the new object is created : %s\n", icalobj)); } else status = GNOME_Evolution_Calendar_Success;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor