diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-07-17 00:11:48 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-07-17 00:11:48 +0800 |
commit | eb0a41ef8d058224f28226262f0522ee42256928 (patch) | |
tree | 8cd1a3b284ab81f5de5c19984c3e7f27a29676ce /src/prefs-dialog.c | |
parent | 945e7a58faa779fe69bac52fcdb130989ebe17d2 (diff) | |
download | gsoc2013-epiphany-eb0a41ef8d058224f28226262f0522ee42256928.tar gsoc2013-epiphany-eb0a41ef8d058224f28226262f0522ee42256928.tar.gz gsoc2013-epiphany-eb0a41ef8d058224f28226262f0522ee42256928.tar.bz2 gsoc2013-epiphany-eb0a41ef8d058224f28226262f0522ee42256928.tar.lz gsoc2013-epiphany-eb0a41ef8d058224f28226262f0522ee42256928.tar.xz gsoc2013-epiphany-eb0a41ef8d058224f28226262f0522ee42256928.tar.zst gsoc2013-epiphany-eb0a41ef8d058224f28226262f0522ee42256928.zip |
Initiliaze font list to NULL. Otherwise if Enumerate fails we crash.
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.
Diffstat (limited to 'src/prefs-dialog.c')
-rw-r--r-- | src/prefs-dialog.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |