/*
- * $Id: rb_window.c 92 2004-08-22 23:07:16Z tilman $
+ * $Id: rb_window.c 93 2004-08-23 08:57:10Z tilman $
*
* Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
INT2FIX (w), INT2FIX (h));
}
-static VALUE c_border_size_get (VALUE self)
+static VALUE c_border_width_get (VALUE self)
{
GET_OBJ (self, RbWindow, win);
- return INT2FIX (ecore_x_window_border_size_get (win->real));
+ return INT2FIX (ecore_x_window_border_width_get (win->real));
}
static VALUE c_depth_get (VALUE self)
rb_define_method (cWindow, "resize", c_resize, 2);
rb_define_method (cWindow, "size", c_size_get, 0);
rb_define_method (cWindow, "geometry", c_geometry_get, 0);
- rb_define_method (cWindow, "border_size", c_border_size_get, 0);
+ rb_define_method (cWindow, "border_width", c_border_width_get, 0);
rb_define_method (cWindow, "depth", c_depth_get, 0);
rb_define_method (cWindow, "parent", c_parent_get, 0);
rb_define_method (cWindow, "title", c_title_get, 0);