Code cleanup.
[ruby-evas.git] / src / rb_evas_object.c
index a054a08d9cd7241bf3b5cafd09c1865ad3434070..b37d66d650d41f60f0351ffd01631fb495037936 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rb_evas_object.c 369 2006-02-15 18:09:44Z tilman $
+ * $Id: rb_evas_object.c 382 2006-05-25 09:20:31Z tilman $
  *
  * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
  *
@@ -306,8 +306,6 @@ static VALUE c_name_set (VALUE self, VALUE val)
 {
        GET_OBJ (self, RbEvasObject, e);
 
-       Check_Type (val, T_STRING);
-
        evas_object_name_set (e->real, StringValuePtr (val));
 
        return Qnil;