From 6d8453bf8d9f8fb50cedf4f8971602261956daa8 Mon Sep 17 00:00:00 2001 From: Harish Krishnaswamy Date: Mon, 2 Jan 2006 05:46:02 +0000 Subject: Fixes #325468 (critical warning crasher). 2006-01-02 Harish Krishnaswamy * gui/dialogs/cal-prefs-dialog.c: (show_fb_config): Fixes #325468 (critical warning crasher). svn path=/trunk/; revision=31013 --- calendar/gui/dialogs/cal-prefs-dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/gui/dialogs') diff --git a/calendar/gui/dialogs/cal-prefs-dialog.c b/calendar/gui/dialogs/cal-prefs-dialog.c index 0960033e41..f88ecd89cd 100644 --- a/calendar/gui/dialogs/cal-prefs-dialog.c +++ b/calendar/gui/dialogs/cal-prefs-dialog.c @@ -362,7 +362,7 @@ show_fb_config (CalendarPrefsDialog *prefs) gchar *template_url; template_url = calendar_config_get_free_busy_template (); - gtk_entry_set_text (GTK_ENTRY (prefs->template_url), template_url); + gtk_entry_set_text (GTK_ENTRY (prefs->template_url), (template_url ? template_url : "")); g_free (template_url); } -- cgit