svnno****@sourc*****
svnno****@sourc*****
Sat Oct 6 13:49:41 JST 2007
Revision: 3275 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3275 Author: kous Date: 2007-10-06 13:49:40 +0900 (Sat, 06 Oct 2007) Log Message: ----------- * ext/ruby/kz-rb-window.c (rb_kz_window_move_tab): followed the recent API change. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/ext/ruby/kz-rb-window.c Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2007-10-05 06:16:47 UTC (rev 3274) +++ kazehakase/trunk/ChangeLog 2007-10-06 04:49:40 UTC (rev 3275) @@ -1,3 +1,8 @@ +2007-10-06 Kouhei Sutou <kou****@cozmi*****> + + * ext/ruby/kz-rb-window.c (rb_kz_window_move_tab): + followed the recent API change. + 2007-10-05 Hiroyuki Ikezoe <poinc****@ikezo*****> * src/kz-window.c: Fix "Gtk-CRITICAL **: gtk_selection_data_set: Modified: kazehakase/trunk/ext/ruby/kz-rb-window.c =================================================================== --- kazehakase/trunk/ext/ruby/kz-rb-window.c 2007-10-05 06:16:47 UTC (rev 3274) +++ kazehakase/trunk/ext/ruby/kz-rb-window.c 2007-10-06 04:49:40 UTC (rev 3275) @@ -85,9 +85,9 @@ } static VALUE -rb_kz_window_move_tab(VALUE self, VALUE widget) +rb_kz_window_move_tab(VALUE self, VALUE dest, VALUE widget) { - kz_window_move_tab(_SELF(self), RVAL2GTKWIDGET(widget)); + kz_window_move_tab(_SELF(self), RVAL2KZWIN(dest), RVAL2GTKWIDGET(widget)); return self; } @@ -297,7 +297,7 @@ rb_define_method(cKzWindow, "close_tab", rb_kz_window_close_tab, 1); rb_define_method(cKzWindow, "close_all_tab", rb_kz_window_close_all_tab, 0); - rb_define_method(cKzWindow, "move_tab", rb_kz_window_move_tab, 1); + rb_define_method(cKzWindow, "move_tab", rb_kz_window_move_tab, 2); rb_define_method(cKzWindow, "load_url", rb_kz_window_load_url, 1); rb_define_method(cKzWindow, "store_state", rb_kz_window_store_state, 0);