svnno****@sourc*****
svnno****@sourc*****
Sun Sep 27 09:29:57 JST 2009
Revision: 3853 http://sourceforge.jp/projects/kazehakase/svn/view?view=rev&revision=3853 Author: kous Date: 2009-09-27 09:29:57 +0900 (Sun, 27 Sep 2009) Log Message: ----------- * ext/ruby/kz-rb-window.c: embed -> web. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/ext/ruby/kz-rb-window.c Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2009-09-27 00:28:16 UTC (rev 3852) +++ kazehakase/trunk/ChangeLog 2009-09-27 00:29:57 UTC (rev 3853) @@ -1,5 +1,7 @@ 2009-09-27 Kouhei Sutou <kou****@cozmi*****> + * ext/ruby/kz-rb-window.c: embed -> web. + * ext/ruby/kz-rb-web.c, ext/ruby/kz-rb-ext.[ch]: add KzWeb binding. * ext/ruby/kz-rb-embed.c: remove nonexistent methods in kz-embed.h. Modified: kazehakase/trunk/ext/ruby/kz-rb-window.c =================================================================== --- kazehakase/trunk/ext/ruby/kz-rb-window.c 2009-09-27 00:28:16 UTC (rev 3852) +++ kazehakase/trunk/ext/ruby/kz-rb-window.c 2009-09-27 00:29:57 UTC (rev 3853) @@ -25,7 +25,7 @@ #define RVAL2GNODE(obj) (GTK_GNODE(RVAL2GOBJ(obj))) #define RVAL2KZBOOKMARK(obj) (KZ_BOOKMARK(RVAL2GOBJ(obj))) #define RVAL2KZBOOKMARKFOLDER(obj) (KZ_BOOKMARK_FOLDER(RVAL2GOBJ(obj))) -#define RVAL2KZEMBED(obj) (KZ_EMBED(RVAL2GOBJ(obj))) +#define RVAL2KZWEB(obj) (KZ_WEB(RVAL2GOBJ(obj))) static ID id_default; @@ -75,7 +75,7 @@ static VALUE rb_kz_window_close_tab(VALUE self, VALUE widget) { - kz_window_close_tab(_SELF(self), RVAL2KZEMBED(widget)); + kz_window_close_tab(_SELF(self), RVAL2KZWEB(widget)); return self; } @@ -157,7 +157,7 @@ { KzTabLabel *Widget; Widget = kz_window_get_tab_label(_SELF(self), - RVAL2KZEMBED(widget)); + RVAL2KZWEB(widget)); return GOBJ2RVAL(Widget); } @@ -266,13 +266,13 @@ static VALUE rb_kz_window_nth_page(VALUE self, VALUE n) { - return GOBJ2RVAL(KZ_WINDOW_NTH_EMBED(_SELF(self), NUM2INT(n))); + return GOBJ2RVAL(KZ_WINDOW_NTH_WEB(_SELF(self), NUM2INT(n))); } static VALUE rb_kz_window_current_page(VALUE self) { - return GOBJ2RVAL(KZ_WINDOW_CURRENT_EMBED(_SELF(self))); + return GOBJ2RVAL(KZ_WINDOW_CURRENT_WEB(_SELF(self))); } void