[kazehakase-svn] [3251] * ext/ruby/kz-rb-notebook.c: removed needless binding:

Back to archive index

svnno****@sourc***** svnno****@sourc*****
Wed Oct 3 11:53:36 JST 2007


Revision: 3251
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3251
Author:   kous
Date:     2007-10-03 11:53:35 +0900 (Wed, 03 Oct 2007)

Log Message:
-----------
* ext/ruby/kz-rb-notebook.c: removed needless binding:
  Kz::Notebook#reorder_tab.

Modified Paths:
--------------
    kazehakase/trunk/ChangeLog
    kazehakase/trunk/ext/ruby/kz-rb-notebook.c

Modified: kazehakase/trunk/ChangeLog
===================================================================
--- kazehakase/trunk/ChangeLog	2007-10-03 02:49:33 UTC (rev 3250)
+++ kazehakase/trunk/ChangeLog	2007-10-03 02:53:35 UTC (rev 3251)
@@ -1,3 +1,8 @@
+2007-10-03  Kouhei Sutou  <kou****@cozmi*****>
+
+	* ext/ruby/kz-rb-notebook.c: removed needless binding:
+	Kz::Notebook#reorder_tab.
+
 2007-10-03  Hiroyuki Ikezoe  <poinc****@ikezo*****>
 
 	* src/kz-notebook.c, src/kz-tab-label.c: Use DnD function of

Modified: kazehakase/trunk/ext/ruby/kz-rb-notebook.c
===================================================================
--- kazehakase/trunk/ext/ruby/kz-rb-notebook.c	2007-10-03 02:49:33 UTC (rev 3250)
+++ kazehakase/trunk/ext/ruby/kz-rb-notebook.c	2007-10-03 02:53:35 UTC (rev 3251)
@@ -98,16 +98,6 @@
 }
 
 static VALUE
-rb_kz_notebook_reorder_tab(VALUE self, VALUE rb_widget, VALUE pos)
-{
-    GtkWidget *widget;
-    widget = kz_notebook_reorder_tab(_SELF(self),
-                                     RVAL2GTKWIDGET(rb_widget),
-                                     NUM2INT(pos));
-    return GOBJ2RVAL(widget);
-}
-
-static VALUE
 rb_kz_notebook_scroll_tab(VALUE self, VALUE direction)
 {
     gboolean result;
@@ -134,8 +124,6 @@
     rb_define_method(cKzNotebook, "move_tab", rb_kz_notebook_move_tab, 2);
     rb_define_method(cKzNotebook, "next_tab", rb_kz_notebook_next_tab, 0);
     rb_define_method(cKzNotebook, "prev_tab", rb_kz_notebook_prev_tab, 0);
-    rb_define_method(cKzNotebook, "reorder_tab",
-                     rb_kz_notebook_reorder_tab, 2);
     rb_define_method(cKzNotebook, "scroll_tab",
                      rb_kz_notebook_scroll_tab, 1);
 




More information about the Kazehakase-cvs mailing list
Back to archive index