fix debugging messages so they use "" rather than NULL. Fixes bug #8559.

2001-08-31  Damon Chaplin  <damon@ximian.com>

	* 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
This commit is contained in:
Damon Chaplin
2001-08-31 21:24:52 +00:00
committed by Damon Chaplin
parent 684127f5d5
commit c453eb0f45
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2001-08-31 Damon Chaplin <damon@ximian.com>
* 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 <federico@ximian.com>
* pcs/cal-backend-file.c (cal_backend_file_remove_object): See if

View File

@ -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) {