aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/task-editor.c9
-rw-r--r--calendar/gui/e-itip-control.c7
-rw-r--r--calendar/gui/gnome-cal.c23
3 files changed, 4 insertions, 35 deletions
diff --git a/calendar/gui/dialogs/task-editor.c b/calendar/gui/dialogs/task-editor.c
index 6114ffa529..60a9bdd60a 100644
--- a/calendar/gui/dialogs/task-editor.c
+++ b/calendar/gui/dialogs/task-editor.c
@@ -98,15 +98,6 @@ static const int status_map[] = {
-1
};
-static const char* status_string_map[] = {
- "NEEDS-ACTION",
- "IN-PROCESS",
- "COMPLETED",
- "CANCELLED",
- NULL
-};
-
-
typedef enum {
PRIORITY_HIGH,
PRIORITY_NORMAL,
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c
index ced1431292..8e1ee0df22 100644
--- a/calendar/gui/e-itip-control.c
+++ b/calendar/gui/e-itip-control.c
@@ -63,7 +63,7 @@ static icalproperty *
find_attendee (icalcomponent *comp, char *address)
{
icalproperty *prop;
- char *attendee, *text;
+ const char *attendee, *text;
icalvalue *value;
for (prop = icalcomponent_get_first_property (comp, ICAL_ATTENDEE_PROPERTY);
@@ -685,8 +685,9 @@ pstream_load (BonoboPersistStream *ps, const Bonobo_Stream stream,
all the things I'll show in my control. */
{
icalproperty *prop;
- gchar *new_text;
- gchar *organizer, *description, *summary;
+ const char *description, *summary;
+ const char *new_text;
+ const char *organizer;
struct icaltimetype dtstart, dtend;
time_t tstart, tend;
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index 3b16c46f70..bbc0e0e1b9 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -1702,29 +1702,6 @@ gnome_calendar_get_selected_time_range (GnomeCalendar *gcal,
}
-/* Callback used when an event editor finishes editing an object */
-static void
-released_event_object_cb (EventEditor *ee, const char *uid, gpointer data)
-{
- GnomeCalendar *gcal;
- GnomeCalendarPrivate *priv;
- gboolean result;
- gpointer orig_key;
- char *orig_uid;
-
- gcal = GNOME_CALENDAR (data);
- priv = gcal->priv;
-
- result = g_hash_table_lookup_extended (priv->object_editor_hash, uid, &orig_key, NULL);
- g_assert (result != FALSE);
-
- orig_uid = orig_key;
-
- g_hash_table_remove (priv->object_editor_hash, orig_uid);
- g_free (orig_uid);
-}
-
-
/* Callback used when an event editor dialog is closed */
struct editor_closure
{