svnno****@sourc*****
svnno****@sourc*****
Wed Sep 2 15:59:48 JST 2009
Revision: 3815 http://sourceforge.jp/projects/kazehakase/svn/view?view=rev&revision=3815 Author: ikezoe Date: 2009-09-02 15:59:48 +0900 (Wed, 02 Sep 2009) Log Message: ----------- * src/kz-embed,c, src/utils/utils.c, module/embed/gecko/kz-gecko-embed.cpp, module/embed/webkit-gtk/kz-webkit-gtk.c: Fix kz_site_new arguments order. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/module/embed/gecko/kz-gecko-embed.cpp kazehakase/trunk/module/embed/webkit-gtk/kz-webkit-gtk.c kazehakase/trunk/src/kz-embed.c kazehakase/trunk/src/utils/utils.c Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2009-09-02 06:46:34 UTC (rev 3814) +++ kazehakase/trunk/ChangeLog 2009-09-02 06:59:48 UTC (rev 3815) @@ -11,6 +11,10 @@ module/embed/per-process/kz-embed-process.c: DOM mouse event became signal since the return value of these signals is always FALSE so we does not need to get this return value. + * src/kz-embed,c, src/utils/utils.c, + module/embed/gecko/kz-gecko-embed.cpp, + module/embed/webkit-gtk/kz-webkit-gtk.c: Fix + kz_site_new arguments order. 2009-09-01 Hiroyuki Ikezoe <poinc****@ikezo*****> Modified: kazehakase/trunk/module/embed/gecko/kz-gecko-embed.cpp =================================================================== --- kazehakase/trunk/module/embed/gecko/kz-gecko-embed.cpp 2009-09-02 06:46:34 UTC (rev 3814) +++ kazehakase/trunk/module/embed/gecko/kz-gecko-embed.cpp 2009-09-02 06:59:48 UTC (rev 3815) @@ -2915,7 +2915,7 @@ gchar *title = NULL, *uri = NULL; shistory_get_nth(kzembed, i, FALSE, &uri, &title); - KzSite *site = kz_site_new(uri, title); + KzSite *site = kz_site_new(title, uri); *history = g_list_append(*history, site); g_free(title); g_free(uri); Modified: kazehakase/trunk/module/embed/webkit-gtk/kz-webkit-gtk.c =================================================================== --- kazehakase/trunk/module/embed/webkit-gtk/kz-webkit-gtk.c 2009-09-02 06:46:34 UTC (rev 3814) +++ kazehakase/trunk/module/embed/webkit-gtk/kz-webkit-gtk.c 2009-09-02 06:59:48 UTC (rev 3815) @@ -619,8 +619,8 @@ merge_item_to_history (GList **history, WebKitWebHistoryItem *item) { KzSite *site; - site = kz_site_new(webkit_web_history_item_get_uri(item), - webkit_web_history_item_get_title(item)); + site = kz_site_new(webkit_web_history_item_get_title(item), + webkit_web_history_item_get_uri(item)); *history = g_list_append(*history, site); } Modified: kazehakase/trunk/src/kz-embed.c =================================================================== --- kazehakase/trunk/src/kz-embed.c 2009-09-02 06:46:34 UTC (rev 3814) +++ kazehakase/trunk/src/kz-embed.c 2009-09-02 06:59:48 UTC (rev 3815) @@ -1260,8 +1260,8 @@ KzSite *site; site = g_new0(KzSite, 1); + site->title = g_strdup(title); site->uri = g_strdup(uri); - site->title = g_strdup(title); return site; } Modified: kazehakase/trunk/src/utils/utils.c =================================================================== --- kazehakase/trunk/src/utils/utils.c 2009-09-02 06:46:34 UTC (rev 3814) +++ kazehakase/trunk/src/utils/utils.c 2009-09-02 06:59:48 UTC (rev 3815) @@ -1031,8 +1031,8 @@ { KzSite *site; - site = kz_site_new(kz_bookmark_get_link(bookmark), - kz_bookmark_get_title(bookmark)); + site = kz_site_new(kz_bookmark_get_title(bookmark), + kz_bookmark_get_link(bookmark)); *list = g_list_append(*list, site); }