Ignore:
Timestamp:
Nov 15, 2007, 11:03:12 PM (13 years ago)
Author:
Pascal Terjan
Message:
  • Fix number of arguments for set_height
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/ruby/cucul-canvas.c

    r1961 r1964  
    574574    rb_define_method(cCanvas, "set_width", set_canvas_width2, 1);
    575575    rb_define_method(cCanvas, "height", get_canvas_height, 0);
    576     rb_define_method(cCanvas, "height=", set_canvas_height, 0);
    577     rb_define_method(cCanvas, "set_height", set_canvas_height2, 0);
     576    rb_define_method(cCanvas, "height=", set_canvas_height, 1);
     577    rb_define_method(cCanvas, "set_height", set_canvas_height2, 1);
    578578    rb_define_method(cCanvas, "set_size", set_canvas_size, 2);
    579579       
Note: See TracChangeset for help on using the changeset viewer.