diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2003-10-25 01:46:27 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2003-10-25 01:46:27 +0800 |
commit | 602ee2f49664f532de6ba5f44b323dcb26192012 (patch) | |
tree | 19dd7fa0562e21fc049cc46ac5c093f01b45395a /calendar/gui/tasks-control.c | |
parent | ea5a22bc0ee7a3ed18d67a750cdfdb0cfe22007d (diff) | |
download | gsoc2013-evolution-602ee2f49664f532de6ba5f44b323dcb26192012.tar.gz gsoc2013-evolution-602ee2f49664f532de6ba5f44b323dcb26192012.tar.zst gsoc2013-evolution-602ee2f49664f532de6ba5f44b323dcb26192012.zip |
removed repeated initialization. (calendar_component_peek): use G_STRLOC
2003-10-24 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-component.c (calendar_component_class_init): removed
repeated initialization.
(calendar_component_peek): use G_STRLOC for g_warning's.
* gui/tsaks-control.[ch] (tasks_control_activate,
tasks_control_deactivate): made these 2 functions public.
* gui/tasks-component.[ch]: implementation of the tasks component.
* gui/Makefile.am:
* gui/GNOME_Evolution_Calendar.server.in.in: added tasks component.
* gui/main.c: ditto.
(factory): added code to create the tasks component when requested.
svn path=/trunk/; revision=23065
Diffstat (limited to 'calendar/gui/tasks-control.c')
-rw-r--r-- | calendar/gui/tasks-control.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/calendar/gui/tasks-control.c b/calendar/gui/tasks-control.c index d97ed2d585..e0482b2d77 100644 --- a/calendar/gui/tasks-control.c +++ b/calendar/gui/tasks-control.c @@ -70,11 +70,6 @@ static void tasks_control_set_property (BonoboPropertyBag *bag, static void tasks_control_activate_cb (BonoboControl *control, gboolean activate, gpointer user_data); -static void tasks_control_activate (BonoboControl *control, - ETasks *tasks); -static void tasks_control_deactivate (BonoboControl *control, - ETasks *tasks); - static void tasks_control_new_task_cmd (BonoboUIComponent *uic, gpointer data, const char *path); @@ -287,7 +282,7 @@ static BonoboUIVerb verbs [] = { BONOBO_UI_VERB_END }; -static void +void tasks_control_activate (BonoboControl *control, ETasks *tasks) { Bonobo_UIContainer remote_uih; @@ -339,7 +334,7 @@ tasks_control_activate (BonoboControl *control, ETasks *tasks) } -static void +void tasks_control_deactivate (BonoboControl *control, ETasks *tasks) { BonoboUIComponent *uic = bonobo_control_get_ui_component (control); |