aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-component.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-10-25 01:46:27 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-10-25 01:46:27 +0800
commit602ee2f49664f532de6ba5f44b323dcb26192012 (patch)
tree19dd7fa0562e21fc049cc46ac5c093f01b45395a /calendar/gui/calendar-component.c
parentea5a22bc0ee7a3ed18d67a750cdfdb0cfe22007d (diff)
downloadgsoc2013-evolution-602ee2f49664f532de6ba5f44b323dcb26192012.tar
gsoc2013-evolution-602ee2f49664f532de6ba5f44b323dcb26192012.tar.gz
gsoc2013-evolution-602ee2f49664f532de6ba5f44b323dcb26192012.tar.bz2
gsoc2013-evolution-602ee2f49664f532de6ba5f44b323dcb26192012.tar.lz
gsoc2013-evolution-602ee2f49664f532de6ba5f44b323dcb26192012.tar.xz
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/calendar-component.c')
-rw-r--r--calendar/gui/calendar-component.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index 4f89a5e8d3..eec39adad6 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -276,8 +276,6 @@ calendar_component_class_init (CalendarComponentClass *class)
object_class->dispose = impl_dispose;
object_class->finalize = impl_finalize;
-
- epv->createControls = impl_createControls;
}
static void
@@ -349,7 +347,7 @@ calendar_component_peek (void)
component = g_object_new (calendar_component_get_type (), NULL);
if (e_mkdir_hier (calendar_component_peek_config_directory (component), 0777) != 0) {
- g_warning ("Cannot create directory %s: %s",
+ g_warning (G_STRLOC, ": Cannot create directory %s: %s",
calendar_component_peek_config_directory (component),
g_strerror (errno));
g_object_unref (component);