Hiroyuki Ikezoe
ikezo****@users*****
Mon Mar 19 15:59:48 JST 2007
Index: kazehakase/src/main.c diff -u kazehakase/src/main.c:1.139 kazehakase/src/main.c:1.140 --- kazehakase/src/main.c:1.139 Mon Mar 19 15:02:11 2007 +++ kazehakase/src/main.c Mon Mar 19 15:59:48 2007 @@ -34,6 +34,9 @@ #include "kz-ext.h" #include "kz-actions-tab.h" #include "utils.h" +#ifdef WITH_GECKO +#include "mozilla.h" +#endif KzApp *kz_app = NULL; @@ -475,6 +478,11 @@ kz_app = kz_app_new(argc, argv); kz_ext_init(kz_app, &init_address); +#ifdef WITH_GECKO +#warning FIXME! Initializaton of mozilla should be called somewhere else. + mozilla_init(KZ_GET_GLOBAL_PROFILE); +#endif + /* create window */ KZ_CONF_GET("Session", "restore", restore, BOOL); if (restore) @@ -509,7 +517,9 @@ dupl_check_server = NULL; kz_ext_exit(); - +#ifdef WITH_GECKO + mozilla_exit(); +#endif g_object_unref(kz_app); return 0;