diff options
author | JP Rosevear <jpr@ximian.com> | 2003-04-11 16:54:00 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2003-04-11 16:54:00 +0800 |
commit | bc3b18e4960f45aaf6cc1cb0cf6294bdc3dc990a (patch) | |
tree | 922dd87ee3804a8f75d0c1913402b4bd3b2b54c7 | |
parent | 0025229dc5eac1ffe51ddcc2046fbaac251581d2 (diff) | |
download | gsoc2013-evolution-bc3b18e4960f45aaf6cc1cb0cf6294bdc3dc990a.tar.gz gsoc2013-evolution-bc3b18e4960f45aaf6cc1cb0cf6294bdc3dc990a.tar.zst gsoc2013-evolution-bc3b18e4960f45aaf6cc1cb0cf6294bdc3dc990a.zip |
only print a message if the exception isn't the reasonable NotFound
2003-04-11 JP Rosevear <jpr@ximian.com>
* 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
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/cal-client/cal-client.c | 3 |
2 files changed, 7 insertions, 1 deletions
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 <jpr@ximian.com> + * 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 <jpr@ximian.com> + * 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; } |