aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/recur-comp.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/dialogs/recur-comp.c')
-rw-r--r--calendar/gui/dialogs/recur-comp.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/calendar/gui/dialogs/recur-comp.c b/calendar/gui/dialogs/recur-comp.c
index 734516e904..cfffa29c69 100644
--- a/calendar/gui/dialogs/recur-comp.c
+++ b/calendar/gui/dialogs/recur-comp.c
@@ -36,7 +36,6 @@ recur_component_dialog (ECal *client,
CalObjModType *mod,
GtkWindow *parent)
{
-#if 0
char *str;
GtkWidget *dialog, *rb_this, *rb_prior, *rb_future, *rb_all, *hbox;
GtkWidget *placeholder, *vbox;
@@ -134,16 +133,4 @@ recur_component_dialog (ECal *client,
gtk_widget_destroy (dialog);
return ret;
-#endif
-
- icalproperty *prop;
-
- prop = icalcomponent_get_first_property (e_cal_component_get_icalcomponent (comp),
- ICAL_RECURRENCEID_PROPERTY);
- if (prop)
- icalcomponent_remove_property (e_cal_component_get_icalcomponent (comp), prop);
-
- *mod = CALOBJ_MOD_ALL;
-
- return TRUE;
}