aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-04-27 11:18:53 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-04-27 11:18:53 +0800
commitb4b5a28b9a6b025d7f3739686cddc6acdbcbdd55 (patch)
tree92720d79798e859fde6d4aa72753db3fb415514d /calendar
parentd9c49a4ba1f06777439eeb244bc85c743e051a79 (diff)
downloadgsoc2013-evolution-b4b5a28b9a6b025d7f3739686cddc6acdbcbdd55.tar
gsoc2013-evolution-b4b5a28b9a6b025d7f3739686cddc6acdbcbdd55.tar.gz
gsoc2013-evolution-b4b5a28b9a6b025d7f3739686cddc6acdbcbdd55.tar.bz2
gsoc2013-evolution-b4b5a28b9a6b025d7f3739686cddc6acdbcbdd55.tar.lz
gsoc2013-evolution-b4b5a28b9a6b025d7f3739686cddc6acdbcbdd55.tar.xz
gsoc2013-evolution-b4b5a28b9a6b025d7f3739686cddc6acdbcbdd55.tar.zst
gsoc2013-evolution-b4b5a28b9a6b025d7f3739686cddc6acdbcbdd55.zip
use enums not hard code values
2001-04-26 JP Rosevear <jpr@ximian.com> * gui/e-meeting-edit.c (edit_attendee): use enums not hard code values svn path=/trunk/; revision=9613
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;
}
}