From c453eb0f455f4ee864ffca4ff74cda3374412a0e Mon Sep 17 00:00:00 2001 From: Damon Chaplin Date: Fri, 31 Aug 2001 21:24:52 +0000 Subject: fix debugging messages so they use "" rather than NULL. Fixes bug #8559. 2001-08-31 Damon Chaplin * gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_widget): (comp_editor_contacts_to_component): fix debugging messages so they use "" rather than NULL. Fixes bug #8559. svn path=/trunk/; revision=12539 --- calendar/ChangeLog | 6 ++++++ calendar/gui/dialogs/comp-editor-util.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index a3d1372fb0..daa176839a 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2001-08-31 Damon Chaplin + + * gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_widget): + (comp_editor_contacts_to_component): fix debugging messages so they + use "" rather than NULL. Fixes bug #8559. + 2001-08-29 Federico Mena Quintero * pcs/cal-backend-file.c (cal_backend_file_remove_object): See if diff --git a/calendar/gui/dialogs/comp-editor-util.c b/calendar/gui/dialogs/comp-editor-util.c index 5d575c8957..630c6b78de 100644 --- a/calendar/gui/dialogs/comp-editor-util.c +++ b/calendar/gui/dialogs/comp-editor-util.c @@ -411,7 +411,7 @@ comp_editor_contacts_to_widget (GtkWidget *contacts_entry, g_ptr_array_add (dest_array, NULL); contacts_string = e_destination_exportv ((EDestination**) dest_array->pdata); - g_print ("Destinations: %s\n", contacts_string); + g_print ("Destinations: %s\n", contacts_string ? contacts_string : ""); bonobo_widget_set_property (BONOBO_WIDGET (contacts_entry), "destinations", contacts_string, NULL); @@ -440,7 +440,7 @@ comp_editor_contacts_to_component (GtkWidget *contacts_entry, bonobo_widget_get_property (BONOBO_WIDGET (contacts_entry), "destinations", &contacts_string, NULL); - g_print ("Contacts string: %s\n", contacts_string); + g_print ("Contacts string: %s\n", contacts_string ? contacts_string : ""); contact_destv = e_destination_importv (contacts_string); if (contact_destv) { -- cgit