From bc3b18e4960f45aaf6cc1cb0cf6294bdc3dc990a Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Fri, 11 Apr 2003 08:54:00 +0000 Subject: only print a message if the exception isn't the reasonable NotFound 2003-04-11 JP Rosevear * cal-client/cal-client.c (cal_client_get_free_busy): only print a message if the exception isn't the reasonable NotFound svn path=/trunk/; revision=20812 --- calendar/ChangeLog | 5 +++++ calendar/cal-client/cal-client.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 06ba24900e..63a809c3fd 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,10 @@ 2003-04-11 JP Rosevear + * cal-client/cal-client.c (cal_client_get_free_busy): only print a + message if the exception isn't the reasonable NotFound + +2003-04-11 JP Rosevear + * gui/dialogs/schedule-page.c (schedule_page_finalize): unref the main widget since we ref it when we un-parent it diff --git a/calendar/cal-client/cal-client.c b/calendar/cal-client/cal-client.c index 2c7223a5ea..ca59840430 100644 --- a/calendar/cal-client/cal-client.c +++ b/calendar/cal-client/cal-client.c @@ -1947,7 +1947,8 @@ cal_client_get_free_busy (CalClient *client, GList *users, start, end, &ev); CORBA_free (corba_list); if (BONOBO_EX (&ev) || !calobj_list) { - g_message ("cal_client_get_free_busy(): could not get the objects"); + if (!BONOBO_USER_EX (&ev, ex_GNOME_Evolution_Calendar_Cal_NotFound)) + g_message ("cal_client_get_free_busy(): could not get the objects"); CORBA_exception_free (&ev); return NULL; } -- cgit v1.2.3