diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/prefs-dialog.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2003-07-16 Marco Pesenti Gritti <marco@it.gnome.org> + + * src/prefs-dialog.c: (setup_font_menu): + + Initiliaze font list to NULL. Otherwise if Enumerate fails + we crash. + 2003-07-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: (impl_get_font_list): diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c index 7280f7650..f5d833b16 100644 --- a/src/prefs-dialog.c +++ b/src/prefs-dialog.c @@ -444,7 +444,7 @@ setup_font_menu (PrefsDialog *dialog, GtkWidget *combo) { char *default_font; - GList *fonts; + GList *fonts = NULL; gchar *name; char key[255]; GtkWidget *entry = GTK_COMBO(combo)->entry; |