Hiroyuki Ikezoe
ikezo****@users*****
Sat Jan 6 18:36:22 JST 2007
Index: kazehakase/src/kz-window.c diff -u kazehakase/src/kz-window.c:1.310 kazehakase/src/kz-window.c:1.311 --- kazehakase/src/kz-window.c:1.310 Sat Jan 6 13:57:10 2007 +++ kazehakase/src/kz-window.c Sat Jan 6 18:36:22 2007 @@ -607,7 +607,6 @@ } - GtkWidget * kz_window_new(const gchar *url) { @@ -2152,36 +2151,11 @@ static void cb_embed_load_finished (KzEmbed *embed, KzWindow *kz) { - const gchar *uri; - gchar *root; - gchar *find_uri; - gchar *slash_pos; - g_return_if_fail(KZ_IS_WINDOW(kz)); kz_actions_set_sensitive(kz, KZ_EMBED(KZ_WINDOW_CURRENT_PAGE(kz))); kz_feed_info_change_state(KZ_FEED_INFO(kz->feed_info)); - - uri = kz_embed_get_location(embed); - if(!kz_favicon_is_loaded(KZ_GET_FAVICON, uri)) - { - slash_pos = strstr(uri + strlen("https://"), "/"); - if(slash_pos) - { - root = g_strndup(uri, slash_pos - uri); - if(root) - { - find_uri = g_strconcat(root, "/favicon.ico", - NULL); - kz_favicon_get_icon_from_uri(KZ_GET_FAVICON, - find_uri, uri); - - g_free(root); - g_free(find_uri); - } - } - } }