API tweaks.
authorTilman Sauerbeck <tilman@code-monkey.de>
Tue, 10 Aug 2004 13:28:01 +0000 (13:28 +0000)
committerTilman Sauerbeck <tilman@code-monkey.de>
Tue, 10 Aug 2004 13:28:01 +0000 (13:28 +0000)
src/esmart_container/rb_esmart_container.c

index 3c91108774b7cbc5835b8c2368f0006a2df10e1b..9eb89b21e897eee221869065ebeeb0810bae0a8e 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * $Id: rb_esmart_container.c 52 2004-08-01 10:19:14Z tilman $
+ * $Id: rb_esmart_container.c 56 2004-08-10 13:28:01Z tilman $
  *
  * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
  *
  *
  * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
  *
@@ -49,7 +49,7 @@ static VALUE c_new (VALUE klass, VALUE evas)
        return self;
 }
 
        return self;
 }
 
-static VALUE c_element_append (VALUE self, VALUE element)
+static VALUE c_append_element (VALUE self, VALUE element)
 {
        GET_OBJ (self, RbEvasObject, e);
 
 {
        GET_OBJ (self, RbEvasObject, e);
 
@@ -61,7 +61,7 @@ static VALUE c_element_append (VALUE self, VALUE element)
        return Qnil;
 }
 
        return Qnil;
 }
 
-static VALUE c_element_prepend (VALUE self, VALUE element)
+static VALUE c_prepend_element (VALUE self, VALUE element)
 {
        GET_OBJ (self, RbEvasObject, e);
 
 {
        GET_OBJ (self, RbEvasObject, e);
 
@@ -73,7 +73,7 @@ static VALUE c_element_prepend (VALUE self, VALUE element)
        return Qnil;
 }
 
        return Qnil;
 }
 
-static VALUE c_element_remove (VALUE self, VALUE element)
+static VALUE c_remove_element (VALUE self, VALUE element)
 {
        GET_OBJ (self, RbEvasObject, e);
 
 {
        GET_OBJ (self, RbEvasObject, e);
 
@@ -195,9 +195,9 @@ void Init_esmart_container (void)
        rb_define_method (c, "fill_policy=", c_fill_policy_set, 1);
        rb_define_method (c, "get_padding", c_get_padding, 0);
        rb_define_method (c, "set_padding", c_set_padding, 4);
        rb_define_method (c, "fill_policy=", c_fill_policy_set, 1);
        rb_define_method (c, "get_padding", c_get_padding, 0);
        rb_define_method (c, "set_padding", c_set_padding, 4);
-       rb_define_method (c, "element_append", c_element_append, 1);
-       rb_define_method (c, "element_prepend", c_element_prepend, 1);
-       rb_define_method (c, "element_remove", c_element_remove, 1);
+       rb_define_method (c, "append_element", c_append_element, 1);
+       rb_define_method (c, "prepend_element", c_prepend_element, 1);
+       rb_define_method (c, "remove_element", c_remove_element, 1);
        rb_define_method (c, "scroll", c_scroll, 1);
 
        rb_define_const (c, "HORIZONTAL",
        rb_define_method (c, "scroll", c_scroll, 1);
 
        rb_define_const (c, "HORIZONTAL",