diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 4 | ||||
-rw-r--r-- | calendar/cal-client/cal-client.c | 9 |
2 files changed, 4 insertions, 9 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 05fb471217..be19f93e64 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,7 @@ +2001-08-01 Damon Chaplin <damon@ximian.com> + + * cal-client/cal-client.c: removed debugging messages. + 2001-08-01 Federico Mena Quintero <federico@ximian.com> The calendar search bar widget now includes a drop-down menu of diff --git a/calendar/cal-client/cal-client.c b/calendar/cal-client/cal-client.c index bb888e6205..4a1a7d2edc 100644 --- a/calendar/cal-client/cal-client.c +++ b/calendar/cal-client/cal-client.c @@ -904,8 +904,6 @@ cal_client_get_object_timezones_cb (icalparameter *param, return; } - g_print ("Pre-fetching timezone: %s\n", tzid); - status = cal_client_get_timezone (cb_data->client, tzid, &zone); if (status != CAL_CLIENT_GET_SUCCESS) cb_data->status = status; @@ -924,8 +922,6 @@ cal_client_get_timezone (CalClient *client, icalcomponent *icalcomp; icaltimezone *tmp_zone; - g_print ("In cal_client_get_timezone: %s\n", tzid); - g_return_val_if_fail (client != NULL, CAL_CLIENT_GET_NOT_FOUND); g_return_val_if_fail (IS_CAL_CLIENT (client), CAL_CLIENT_GET_NOT_FOUND); @@ -938,14 +934,12 @@ cal_client_get_timezone (CalClient *client, /* If tzid is NULL or "" we return NULL, since it is a 'local time'. */ if (!tzid || !tzid[0]) { *zone = NULL; - g_print (" zone is local time (NULL)\n"); return CAL_CLIENT_GET_SUCCESS; } /* If it is UTC, we return the special UTC timezone. */ if (!strcmp (tzid, "UTC")) { *zone = icaltimezone_get_utc_timezone (); - g_print (" zone is UTC\n"); return CAL_CLIENT_GET_SUCCESS; } @@ -953,15 +947,12 @@ cal_client_get_timezone (CalClient *client, tmp_zone = g_hash_table_lookup (priv->timezones, tzid); if (tmp_zone) { *zone = tmp_zone; - g_print (" zone is in cache\n"); return CAL_CLIENT_GET_SUCCESS; } retval = CAL_CLIENT_GET_NOT_FOUND; *zone = NULL; - g_print (" getting zone from server\n"); - /* We don't already have it, so we try to get it from the server. */ CORBA_exception_init (&ev); comp_str = GNOME_Evolution_Calendar_Cal_getTimezoneObject (priv->cal, (char *) tzid, &ev); |