Hiroyuki Ikezoe
ikezo****@users*****
Sun Dec 31 10:36:04 JST 2006
Index: kazehakase/src/mozilla/kz-mozembed.cpp diff -u kazehakase/src/mozilla/kz-mozembed.cpp:1.222 kazehakase/src/mozilla/kz-mozembed.cpp:1.223 --- kazehakase/src/mozilla/kz-mozembed.cpp:1.222 Wed Dec 6 20:59:42 2006 +++ kazehakase/src/mozilla/kz-mozembed.cpp Sun Dec 31 10:36:04 2006 @@ -1025,7 +1025,7 @@ g_free(filename); } - if (kz_search) + if (KZ_GET_SEARCH) { const gchar *title = kz_moz_embed_get_title(KZ_EMBED(kzembed)); @@ -1037,7 +1037,7 @@ serializer->SerializeToString(node, value); NS_UTF16ToCString (value, NS_CSTRING_ENCODING_UTF8, cValue); } - kz_search_register_document(kz_search, uri, title, cValue.get(), last_modified); + kz_search_register_document(KZ_GET_SEARCH, uri, title, cValue.get(), last_modified); #ifdef WITH_ANTHY KzSearch *search = kz_search_new("anthy-trainer"); if (search) Index: kazehakase/src/mozilla/kz-mozhistorysearch.cpp diff -u kazehakase/src/mozilla/kz-mozhistorysearch.cpp:1.23 kazehakase/src/mozilla/kz-mozhistorysearch.cpp:1.24 --- kazehakase/src/mozilla/kz-mozhistorysearch.cpp:1.23 Sat Dec 30 21:51:03 2006 +++ kazehakase/src/mozilla/kz-mozhistorysearch.cpp Sun Dec 31 10:36:04 2006 @@ -241,8 +241,8 @@ /* render the complete portal */ gchar *html = NULL; - if (kz_search) - html = kz_search_get_search_result_html(kz_search, unescaped); + if (KZ_GET_SEARCH) + html = kz_search_get_search_result_html(KZ_GET_SEARCH, unescaped); nsMemory::Free(unescaped); if (html) Index: kazehakase/src/mozilla/mozilla.cpp diff -u kazehakase/src/mozilla/mozilla.cpp:1.28 kazehakase/src/mozilla/mozilla.cpp:1.29 --- kazehakase/src/mozilla/mozilla.cpp:1.28 Sat Oct 1 02:27:54 2005 +++ kazehakase/src/mozilla/mozilla.cpp Sun Dec 31 10:36:04 2006 @@ -278,7 +278,7 @@ g_signal_connect(single, "new_window_orphan", G_CALLBACK(new_window_orphan_cb), NULL); - g_signal_connect(kz_global_profile, "changed::Global", + g_signal_connect(KZ_GET_GLOBAL_PROFILE, "changed::Global", G_CALLBACK(cb_profile_changed), NULL);