diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-12-02 05:02:31 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2000-12-02 05:02:31 +0800 |
commit | cd372acdcf941fa20889518a4ff90180ef4f0a64 (patch) | |
tree | 832a1c55d5a9d26b03c53e3d09718f4ad1ebdfd7 /calendar | |
parent | ccb0fc275449ff705c328502140576717e72076a (diff) | |
download | gsoc2013-evolution-cd372acdcf941fa20889518a4ff90180ef4f0a64.tar gsoc2013-evolution-cd372acdcf941fa20889518a4ff90180ef4f0a64.tar.gz gsoc2013-evolution-cd372acdcf941fa20889518a4ff90180ef4f0a64.tar.bz2 gsoc2013-evolution-cd372acdcf941fa20889518a4ff90180ef4f0a64.tar.lz gsoc2013-evolution-cd372acdcf941fa20889518a4ff90180ef4f0a64.tar.xz gsoc2013-evolution-cd372acdcf941fa20889518a4ff90180ef4f0a64.tar.zst gsoc2013-evolution-cd372acdcf941fa20889518a4ff90180ef4f0a64.zip |
Removed debugging message. (control_factory_init): Ditto.
2000-12-01 Federico Mena Quintero <federico@helixcode.com>
* gui/control-factory.c (set_prop): Removed debugging message.
(control_factory_init): Ditto.
* gui/calendar-commands.c (calendar_set_uri): Ditto.
* gui/main.c (main): Ditto.
svn path=/trunk/; revision=6762
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-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 |
4 files changed, 10 insertions, 14 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index f619de8909..c1dbf721c4 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,12 @@ 2000-12-01 Federico Mena Quintero <federico@helixcode.com> + * gui/control-factory.c (set_prop): Removed debugging message. + (control_factory_init): Ditto. + + * gui/calendar-commands.c (calendar_set_uri): Ditto. + + * gui/main.c (main): Ditto. + * gui/event-editor.c (set_title_from_comp): New function to generate a title and convert it from UTF8 before setting it on the window. 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; } |