aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/task-editor.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-04-03 13:35:48 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-04-03 13:35:48 +0800
commit7a4bd61930f826ceabf144bf1d4ca06592565e90 (patch)
treee05e3a2e25f54c8b7015c33311b121131ffb7777 /calendar/gui/dialogs/task-editor.c
parent44882da7a7193185f7b593ac3799758c5065f6e4 (diff)
downloadgsoc2013-evolution-7a4bd61930f826ceabf144bf1d4ca06592565e90.tar.gz
gsoc2013-evolution-7a4bd61930f826ceabf144bf1d4ca06592565e90.tar.zst
gsoc2013-evolution-7a4bd61930f826ceabf144bf1d4ca06592565e90.zip
Plug leak.
2001-04-02 Federico Mena Quintero <federico@ximian.com> * gui/e-tasks.c (e_tasks_setup_menus): Plug leak. * gui/event-editor.c (obj_updated_cb): Do nothing for now until we think of something sensible to do. (obj_removed_cb): Likewise. * gui/dialogs/task-editor.c (obj_updated_cb): Likewise. (obj_removed_cb): Likewise. * gui/event-editor.c (dialog_to_comp_object): Plug leak. svn path=/trunk/; revision=9124
Diffstat (limited to 'calendar/gui/dialogs/task-editor.c')
-rw-r--r--calendar/gui/dialogs/task-editor.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/task-editor.c b/calendar/gui/dialogs/task-editor.c
index 64e73e30f5..30e5987eea 100644
--- a/calendar/gui/dialogs/task-editor.c
+++ b/calendar/gui/dialogs/task-editor.c
@@ -553,6 +553,8 @@ task_editor_set_cal_client (TaskEditor *tedit,
static void
obj_updated_cb (CalClient *client, const char *uid, gpointer data)
{
+ /* FIXME: Do something sensible if the component changes under our feet */
+#if 0
TaskEditor *tedit;
TaskEditorPrivate *priv;
CalComponent *comp;
@@ -595,12 +597,17 @@ obj_updated_cb (CalClient *client, const char *uid, gpointer data)
}
raise_and_focus (priv->app);
+#endif
}
/* Callback used when the calendar client tells us that an object was removed */
static void
obj_removed_cb (CalClient *client, const char *uid, gpointer data)
{
+ /* FIXME: Do something sensible if the component is removed under our
+ * feet.
+ */
+#if 0
TaskEditor *tedit;
TaskEditorPrivate *priv;
const gchar *editing_uid;
@@ -621,6 +628,7 @@ obj_removed_cb (CalClient *client, const char *uid, gpointer data)
raise_and_focus (priv->app);
+#endif
}