Operators '==' and '===' are aliases for 'eql?' now.
authorTilman Sauerbeck <tilman@code-monkey.de>
Tue, 31 Aug 2004 18:44:44 +0000 (18:44 +0000)
committerTilman Sauerbeck <tilman@code-monkey.de>
Tue, 31 Aug 2004 18:44:44 +0000 (18:44 +0000)
src/ecore_x/rb_window.c

index b0f0837db8cb686360d90444fb9936dba262e8f6..9d6d4e09d4d825255157f26fb7e2afe5e8db89cf 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rb_window.c 103 2004-08-29 08:57:12Z tilman $
+ * $Id: rb_window.c 108 2004-08-31 18:44:44Z tilman $
  *
  * Copyright (C) 2004 ruby-ecore team (see AUTHORS)
  *
@@ -486,7 +486,9 @@ void Init_Window (void)
        rb_define_singleton_method (cWindow, "new", c_new, -1);
        rb_define_method (cWindow, "initialize", c_init, -1);
        rb_define_method (cWindow, "inspect", c_inspect, 0);
+       rb_define_method (cWindow, "eql?", c_equal_value, 1);
        rb_define_method (cWindow, "==", c_equal_value, 1);
+       rb_define_method (cWindow, "===", c_equal_value, 1);
        rb_define_method (cWindow, "configure", c_configure, -1);
        rb_define_method (cWindow, "show", c_show, 0);
        rb_define_method (cWindow, "hide", c_hide, 0);