aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-07-07 17:51:35 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-07-07 17:51:35 +0800
commit742a5252c8f8611d17db3ce946d7cdc9e2328d7a (patch)
tree0ebcd4b034479ab776cd4f9dfed6bb17065223ce /calendar/gui
parentaecbd37011e179c222395f8e0553cd40cd96117b (diff)
downloadgsoc2013-evolution-742a5252c8f8611d17db3ce946d7cdc9e2328d7a.tar
gsoc2013-evolution-742a5252c8f8611d17db3ce946d7cdc9e2328d7a.tar.gz
gsoc2013-evolution-742a5252c8f8611d17db3ce946d7cdc9e2328d7a.tar.bz2
gsoc2013-evolution-742a5252c8f8611d17db3ce946d7cdc9e2328d7a.tar.lz
gsoc2013-evolution-742a5252c8f8611d17db3ce946d7cdc9e2328d7a.tar.xz
gsoc2013-evolution-742a5252c8f8611d17db3ce946d7cdc9e2328d7a.tar.zst
gsoc2013-evolution-742a5252c8f8611d17db3ce946d7cdc9e2328d7a.zip
Fixes #45910
2003-07-07 Rodrigo Moya <rodrigo@ximian.com> Fixes #45910 * gui/dialogs/task-editor.c (task_editor_class_init): set up the handler for the set_cal_client virtual method. (task_editor_set_cal_client): added missing virtual method. 2003-07-07 Jack Jia <jack.jia@sun.com> * cal-client/cal-client.c (cal_client_get_static_capability): add g_return_val_if_fail to check the input param. svn path=/trunk/; revision=21743
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/task-editor.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/task-editor.c b/calendar/gui/dialogs/task-editor.c
index 202bd5dee1..eaf4c2eaca 100644
--- a/calendar/gui/dialogs/task-editor.c
+++ b/calendar/gui/dialogs/task-editor.c
@@ -50,6 +50,7 @@ struct _TaskEditorPrivate {
static void task_editor_class_init (TaskEditorClass *class);
static void task_editor_init (TaskEditor *te);
+static void task_editor_set_cal_client (CompEditor *editor, CalClient *client);
static void task_editor_edit_comp (CompEditor *editor, CalComponent *comp);
static gboolean task_editor_send_comp (CompEditor *editor, CalComponentItipMethod method);
static void task_editor_finalize (GObject *object);
@@ -99,6 +100,7 @@ task_editor_class_init (TaskEditorClass *klass)
parent_class = g_type_class_ref(TYPE_COMP_EDITOR);
+ editor_class->set_cal_client = task_editor_set_cal_client;
editor_class->edit_comp = task_editor_edit_comp;
editor_class->send_comp = task_editor_send_comp;
@@ -214,6 +216,21 @@ task_editor_construct (TaskEditor *te, CalClient *client)
}
static void
+task_editor_set_cal_client (CompEditor *editor, CalClient *client)
+{
+ TaskEditor *te;
+ TaskEditorPrivate *priv;
+
+ te = TASK_EDITOR (editor);
+ priv = te->priv;
+
+ e_meeting_model_set_cal_client (priv->model, client);
+
+ if (parent_class->set_cal_client)
+ parent_class->set_cal_client (editor, client);
+}
+
+static void
task_editor_edit_comp (CompEditor *editor, CalComponent *comp)
{
TaskEditor *te;