svnno****@sourc*****
svnno****@sourc*****
Tue Jan 27 11:24:30 JST 2009
Revision: 3585 http://svn.sourceforge.jp/view?root=kazehakase&view=rev&rev=3585 Author: ikezoe Date: 2009-01-27 11:24:30 +0900 (Tue, 27 Jan 2009) Log Message: ----------- * src/prefs_ui/prefs_font.c: Workaround for crash on Windows. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/src/prefs_ui/prefs_font.c Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2009-01-27 02:13:13 UTC (rev 3584) +++ kazehakase/trunk/ChangeLog 2009-01-27 02:24:30 UTC (rev 3585) @@ -10,6 +10,7 @@ * src/utils/utils.c: Use g_win32_get_package_installation_directory_of_module if GLib >= 2.16.0. + * src/prefs_ui/prefs_font.c: Workaround for crash on Windows. 2009-01-26 Hiroyuki Ikezoe <poinc****@ikezo*****> Modified: kazehakase/trunk/src/prefs_ui/prefs_font.c =================================================================== --- kazehakase/trunk/src/prefs_ui/prefs_font.c 2009-01-27 02:13:13 UTC (rev 3584) +++ kazehakase/trunk/src/prefs_ui/prefs_font.c 2009-01-27 02:24:30 UTC (rev 3585) @@ -219,6 +219,9 @@ gint select = 0, i = 0; KzEmbedPrefs *embed_prefs = KZ_EMBED_PREFS(kz_embed_new("gecko")); + if (!embed_prefs) + return; + /* remove old list */ store = GTK_LIST_STORE(gtk_combo_box_get_model(combo)); gtk_list_store_clear(store);