aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/Evolution-Composer.h1
-rw-r--r--calendar/gui/e-meeting-edit.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index e0373d63bc..03a6447978 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,10 @@
2001-04-26 JP Rosevear <jpr@ximian.com>
+ * gui/e-meeting-edit.c (edit_attendee): use enums not hard code
+ values
+
+2001-04-26 JP Rosevear <jpr@ximian.com>
+
* gui/e-meeting-edit.c (add_button_clicked_cb):
icalparameter_new_rsvp now takes an enum
diff --git a/calendar/gui/Evolution-Composer.h b/calendar/gui/Evolution-Composer.h
index 557a8dcdd4..bd61419d04 100644
--- a/calendar/gui/Evolution-Composer.h
+++ b/calendar/gui/Evolution-Composer.h
@@ -15,7 +15,6 @@ extern "C"
/** typedefs **/
#include <bonobo/Bonobo.h>
-# 13 "/usr/share/idl/Bonobo.idl"
#if !defined(ORBIT_DECL_GNOME_Evolution_Composer) && !defined(_GNOME_Evolution_Composer_defined)
#define ORBIT_DECL_GNOME_Evolution_Composer 1
#define _GNOME_Evolution_Composer_defined 1
diff --git a/calendar/gui/e-meeting-edit.c b/calendar/gui/e-meeting-edit.c
index 76a1caf74d..9aac1f6b83 100644
--- a/calendar/gui/e-meeting-edit.c
+++ b/calendar/gui/e-meeting-edit.c
@@ -327,7 +327,7 @@ edit_attendee (icalproperty *prop, gpointer data)
for (cntr = 0; cntr < 5; cntr++) {
if (strncmp (text, role_values[cntr], 3) == 0) {
- param = icalparameter_new_role (cntr);
+ param = icalparameter_new_role (ICAL_ROLE_CHAIR + cntr);
break;
}
}