aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/comp-util.h
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-09-21 03:36:54 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-09-21 03:36:54 +0800
commitac3b4c71ffbd70f791f70962daeadf4ce99d5f5b (patch)
tree625a02ab4091d326b2f6e808bed87a2d19f4ecb0 /calendar/gui/comp-util.h
parent5c128c7bddf6df35f6b5b8f7598ac8d5287da6f2 (diff)
downloadgsoc2013-evolution-ac3b4c71ffbd70f791f70962daeadf4ce99d5f5b.tar.gz
gsoc2013-evolution-ac3b4c71ffbd70f791f70962daeadf4ce99d5f5b.tar.zst
gsoc2013-evolution-ac3b4c71ffbd70f791f70962daeadf4ce99d5f5b.zip
check to see if the component is already on the server or not
2002-09-20 JP Rosevear <jpr@ximian.com> * gui/comp-util.c (cal_comp_is_on_server): check to see if the component is already on the server or not * gui/comp-util.h: change proto * gui/e-week-view.c (e_week_view_on_editing_stopped): only delete the event if the summary is empty and the component is not already on the server * gui/e-day-view.c (e_day_view_on_editing_stopped): same Fixes #14111 svn path=/trunk/; revision=18138
Diffstat (limited to 'calendar/gui/comp-util.h')
-rw-r--r--calendar/gui/comp-util.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/calendar/gui/comp-util.h b/calendar/gui/comp-util.h
index a4a55c0a2d..de5e9d5336 100644
--- a/calendar/gui/comp-util.h
+++ b/calendar/gui/comp-util.h
@@ -36,15 +36,8 @@ gboolean cal_comp_util_compare_event_timezones (CalComponent *comp,
CalClient *client,
icaltimezone *zone);
-typedef enum {
- EMPTY_COMP_REMOVE_LOCALLY,
- EMPTY_COMP_REMOVED_FROM_SERVER,
- EMPTY_COMP_DO_NOT_REMOVE
-} ConfirmDeleteEmptyCompResult;
-
-ConfirmDeleteEmptyCompResult cal_comp_confirm_delete_empty_comp (CalComponent *comp,
- CalClient *client,
- GtkWidget *widget);
+gboolean cal_comp_is_on_server (CalComponent *comp,
+ CalClient *client);
CalComponent *cal_comp_event_new_with_defaults (void);