diff options
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/calendar-commands.c | 12 | ||||
-rw-r--r-- | calendar/gui/control-factory.c | 3 | ||||
-rw-r--r-- | calendar/gui/main.c | 2 |
3 files changed, 3 insertions, 14 deletions
diff --git a/calendar/gui/calendar-commands.c b/calendar/gui/calendar-commands.c index 0f6b70ab36..f538885a3c 100644 --- a/calendar/gui/calendar-commands.c +++ b/calendar/gui/calendar-commands.c @@ -560,18 +560,12 @@ new_calendar (char *full_name) void calendar_set_uri (GnomeCalendar *gcal, char *calendar_file) { - gboolean success; - g_return_if_fail (gcal); g_return_if_fail (calendar_file); - printf ("calendar_set_uri: calendar_file is '%s'\n", calendar_file); - - success = gnome_calendar_open (gcal, - calendar_file, - CALENDAR_OPEN_OR_CREATE); - - printf (" load or create returned %d\n", success); + gnome_calendar_open (gcal, + calendar_file, + CALENDAR_OPEN_OR_CREATE); } diff --git a/calendar/gui/control-factory.c b/calendar/gui/control-factory.c index daf2b8ea15..c38a0f26f9 100644 --- a/calendar/gui/control-factory.c +++ b/calendar/gui/control-factory.c @@ -97,7 +97,6 @@ set_prop (BonoboPropertyBag *bag, switch (arg_id) { case PROPERTY_CALENDAR_URI_IDX: - printf ("set_prop: '%s'\n", BONOBO_ARG_GET_STRING (arg)); filename = g_strdup_printf ("%s/calendar.ics", BONOBO_ARG_GET_STRING (arg)); calendar_set_uri (gcal, filename); @@ -152,8 +151,6 @@ control_factory_init (void) if (factory != NULL) return; - puts ("XXXXXX - initializing calendar factory!!!"); - factory = bonobo_generic_factory_new (CONTROL_FACTORY_ID, control_factory_fn, NULL); if (factory == NULL) diff --git a/calendar/gui/main.c b/calendar/gui/main.c index 3d7789eb49..ecaab4f3b6 100644 --- a/calendar/gui/main.c +++ b/calendar/gui/main.c @@ -83,7 +83,5 @@ main (int argc, char **argv) calendar_config_write_on_exit (); - fprintf (stderr, "main(): Out of bonobo_main(), we are dying cleanly. Have a nice day.\n"); - return 0; } |