svnno****@sourc*****
svnno****@sourc*****
Tue Mar 27 15:27:23 JST 2007
Revision: 3052 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3052 Author: kous Date: 2007-03-27 15:27:23 +0900 (Tue, 27 Mar 2007) Log Message: ----------- * src/kz-module.c: fixed a bug. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/src/kz-module.c Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2007-03-27 06:18:30 UTC (rev 3051) +++ kazehakase/trunk/ChangeLog 2007-03-27 06:27:23 UTC (rev 3052) @@ -1,5 +1,7 @@ 2007-03-27 Kouhei Sutou <kou****@cozmi*****> + * src/kz-module.c: fixed a bug. + * module/embed/gecko/kz-gecko-embed.cpp: used KZ_GET_HISTORY_DIR instead of KZ_HISTORY_DIR. Modified: kazehakase/trunk/src/kz-module.c =================================================================== --- kazehakase/trunk/src/kz-module.c 2007-03-27 06:18:30 UTC (rev 3051) +++ kazehakase/trunk/src/kz-module.c 2007-03-27 06:27:23 UTC (rev 3052) @@ -246,9 +246,11 @@ static void _kz_module_close (GModule *module) { - if (module && g_module_close(module)) { - _kz_module_show_error(NULL); - } + if (!module) + return; + + if (!g_module_close(module)) + _kz_module_show_error(module); } static gchar *