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/ChangeLog | 5 +++++ calendar/gui/dialogs/cal-prefs-dialog.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 499d255534..4ceb714b8b 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2006-01-02 Harish Krishnaswamy + + * gui/dialogs/cal-prefs-dialog.c: (show_fb_config): + Fixes #325468 (critical warning crasher). + 2005-12-30 Andre Klapper * icalendar-importer.c: removed a duplicated exclamation mark. 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