aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorDamon Chaplin <damon@ximian.com>2001-09-01 05:24:52 +0800
committerDamon Chaplin <damon@src.gnome.org>2001-09-01 05:24:52 +0800
commitc453eb0f455f4ee864ffca4ff74cda3374412a0e (patch)
treee5a3611e062bb514ff5592bc5677095b931e806f /calendar/gui
parent684127f5d51f31f5c03b00e4b4733eb311f2604e (diff)
downloadgsoc2013-evolution-c453eb0f455f4ee864ffca4ff74cda3374412a0e.tar.gz
gsoc2013-evolution-c453eb0f455f4ee864ffca4ff74cda3374412a0e.tar.zst
gsoc2013-evolution-c453eb0f455f4ee864ffca4ff74cda3374412a0e.zip
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
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/comp-editor-util.c4
1 files changed, 2 insertions, 2 deletions
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) {