Code cleanup.
[ruby-evas.git] / src / rb_evas.c
index f1b433fdba21e75567c79d9ae44c668c082933fa..ff76dba1f7b3c8bf02b179972f6914d7ba51b0c9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rb_evas.c 354 2006-02-10 18:14:08Z tilman $
+ * $Id: rb_evas.c 382 2006-05-25 09:20:31Z tilman $
  *
  * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
  *
@@ -98,8 +98,6 @@ static VALUE c_font_path_append (VALUE self, VALUE path)
 {
        GET_OBJ (self, RbEvas, e);
 
-       Check_Type (path, T_STRING);
-
        evas_font_path_append (e->real, StringValuePtr (path));
 
        return Qnil;
@@ -115,8 +113,6 @@ static VALUE c_font_path_prepend (VALUE self, VALUE path)
 {
        GET_OBJ (self, RbEvas, e);
 
-       Check_Type (path, T_STRING);
-
        evas_font_path_append (e->real, StringValuePtr (path));
 
        return Qnil;
@@ -298,8 +294,6 @@ static VALUE c_find_object (VALUE self, VALUE name)
 
        GET_OBJ (self, RbEvas, e);
 
-       Check_Type (name, T_STRING);
-
        if (!(o = evas_object_name_find (e->real, StringValuePtr (name))))
                return Qnil;