svnno****@sourc*****
svnno****@sourc*****
Sun Sep 27 09:05:43 JST 2009
Revision: 3850 http://sourceforge.jp/projects/kazehakase/svn/view?view=rev&revision=3850 Author: kous Date: 2009-09-27 09:05:43 +0900 (Sun, 27 Sep 2009) Log Message: ----------- * ext/ruby/kz-rb-embed.c: follow a change that kz_app_get_window_from_embed() is renamed to kz_app_get_window_from_web(). Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/ext/ruby/kz-rb-embed.c Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2009-09-26 23:57:27 UTC (rev 3849) +++ kazehakase/trunk/ChangeLog 2009-09-27 00:05:43 UTC (rev 3850) @@ -1,5 +1,9 @@ 2009-09-27 Kouhei Sutou <kou****@cozmi*****> + * ext/ruby/kz-rb-embed.c: follow a change that + kz_app_get_window_from_embed() is renamed to + kz_app_get_window_from_web(). + * ext/ruby/kz-rb-embed.c, ext/ruby/kz-rb-window.c, data/ext/ruby/kz/actions/move-to-anchor.rb, Modified: kazehakase/trunk/ext/ruby/kz-rb-embed.c =================================================================== --- kazehakase/trunk/ext/ruby/kz-rb-embed.c 2009-09-26 23:57:27 UTC (rev 3849) +++ kazehakase/trunk/ext/ruby/kz-rb-embed.c 2009-09-27 00:05:43 UTC (rev 3850) @@ -21,8 +21,7 @@ #include "kz-rb-ext.h" -#include "kz-embed.h" -#include "kz-embed.h" +#include <kz-embed.h> #define _SELF(obj) (KZ_EMBED(RVAL2GOBJ(obj))) #define RVAL2KZBOOKMARK(obj) (KZ_BOOKMARK(RVAL2GOBJ(obj))) @@ -33,13 +32,6 @@ #define RVAL2KZCT(obj) (RVAL2GENUM(obj, KZ_TYPE_EMBED_COPY_TYPE)) static VALUE -rb_kz_embed_get_window(VALUE self) -{ - return GOBJ2RVAL(kz_app_get_window_from_embed(KZ_RB_GET_APP, - RVAL2GOBJ(self))); -} - -static VALUE rb_kz_embed_load_uri(VALUE self, VALUE url) { kz_embed_load_uri(_SELF(self), RVAL2CSTR(url)); @@ -616,8 +608,6 @@ G_DEF_CLASS(KZ_TYPE_EMBED_GO_ACTION, "EmbedGoAction", mKz); G_DEF_CLASS(KZ_TYPE_EMBED_NAV_LINK, "EmbedNavLink", mKz); - rb_define_method(cKzEmbed, "window", rb_kz_embed_get_window, 0); - rb_define_method(cKzEmbed, "load_uri", rb_kz_embed_load_uri, 1); rb_define_method(cKzEmbed, "view_source", rb_kz_embed_view_source, 1);