svnno****@sourc*****
svnno****@sourc*****
Fri Mar 30 17:18:41 JST 2007
Revision: 3111 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3111 Author: makeinu Date: 2007-03-30 17:18:40 +0900 (Fri, 30 Mar 2007) Log Message: ----------- Sorry, I didn't update gtk-webcore orz. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/module/embed/gtk-webcore/kz-gtk-webcore.cpp Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2007-03-30 08:11:27 UTC (rev 3110) +++ kazehakase/trunk/ChangeLog 2007-03-30 08:18:40 UTC (rev 3111) @@ -1,8 +1,3 @@ -2007-03-30 Takuro Ashie <ashie****@homa*****> - - * module/embed/gtk-webcore/kz-gtk-webcore.cpp: - Don't free const string! - 2007-03-30 Hiroyuki Ikezoe <poinc****@ikezo*****> * module/embed/gecko/kz-moz-single.cpp, Modified: kazehakase/trunk/module/embed/gtk-webcore/kz-gtk-webcore.cpp =================================================================== --- kazehakase/trunk/module/embed/gtk-webcore/kz-gtk-webcore.cpp 2007-03-30 08:11:27 UTC (rev 3110) +++ kazehakase/trunk/module/embed/gtk-webcore/kz-gtk-webcore.cpp 2007-03-30 08:18:40 UTC (rev 3111) @@ -1208,10 +1208,13 @@ static void kz_gtk_webcore_copy_selection (KzEmbed *kzembed) { - const gchar *selected; + gchar *selected; selected = webi_get_current_selection_as_text(WEBI(kzembed)); gtkutil_copy_text(selected); + + if (selected) + g_free (selected); } static void