diff options
author | Federico Mena Quintero <federico@nuclecu.unam.mx> | 1998-04-16 06:51:48 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-16 06:51:48 +0800 |
commit | 77d15722d272941f67af74f5abb1eef1a21a4644 (patch) | |
tree | 38a3644f7873bbcdcff9e63666a583905477e1be /calendar/calobj.h | |
parent | f89cf24d2093c9982e461a2478d0acb4eeacc408 (diff) | |
download | gsoc2013-evolution-77d15722d272941f67af74f5abb1eef1a21a4644.tar.gz gsoc2013-evolution-77d15722d272941f67af74f5abb1eef1a21a4644.tar.zst gsoc2013-evolution-77d15722d272941f67af74f5abb1eef1a21a4644.zip |
The general_owner may be null. Do the proper thing when creating the
1998-04-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
* eventedit.c (ee_init_general_page): The general_owner may be
null. Do the proper thing when creating the label.
(ee_ok): Update the gnome calendar appropriately.
* timeutil.h:
* gncal-year-view.h: Add some missing prototypes.
* gncal-full-day.c (child_popup_menu): Set the sensitivity of menu
items according to whether the ical object is being edited or not.
* eventedit.c (event_editor_new): Set the "being edited" flag on
the ical object (stored as the ical object's user data).
(event_editor_destroy): Release the flag.
* calobj.h: The iCalObject structure now has a generic user_data pointer.
* calobj.c (ical_object_set_user_data ical_object_get_user_data):
Functions to set this data.
svn path=/trunk/; revision=140
Diffstat (limited to 'calendar/calobj.h')
-rw-r--r-- | calendar/calobj.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/calendar/calobj.h b/calendar/calobj.h index 8f7abf8871..684605b271 100644 --- a/calendar/calobj.h +++ b/calendar/calobj.h @@ -100,7 +100,8 @@ typedef struct { typedef enum { CHANGE_NEW = 1 << 0, /* new object */ CHANGE_SUMMARY = 1 << 1, /* summary */ - CHANGE_DATES = 1 << 2 /* dtstart / dtend */ + CHANGE_DATES = 1 << 2, /* dtstart / dtend */ + CHANGE_ALL = CHANGE_SUMMARY | CHANGE_DATES } CalObjectChange; /* @@ -151,6 +152,7 @@ typedef struct { Recurrence *recur; int new; + void *user_data; /* Generic data pointer */ } iCalObject; /* The callback for the recurrence generator */ @@ -162,6 +164,8 @@ void ical_object_destroy (iCalObject *ico); iCalObject *ical_object_create_from_vobject (VObject *obj, const char *object_name); VObject *ical_object_to_vobject (iCalObject *ical); void ical_foreach (GList *events, iCalObjectFn fn, void *closure); +void ical_object_set_user_data (iCalObject *ical, void *user_data); +void *ical_object_get_user_data (iCalObject *ical); END_GNOME_DECLS |