From 5c848f36175e3505fab38805be436b979b940a4d Mon Sep 17 00:00:00 2001 From: groogy Date: Wed, 24 Nov 2010 11:36:07 +0000 Subject: [PATCH] Don't know what would be the difference but this is more semantically correct. git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1701 4e206d99-4929-0410-ac5d-dfc041789085 --- bindings/ruby/sfml-graphics/graphics/Drawable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/ruby/sfml-graphics/graphics/Drawable.cpp b/bindings/ruby/sfml-graphics/graphics/Drawable.cpp index eeb98323..ad481022 100644 --- a/bindings/ruby/sfml-graphics/graphics/Drawable.cpp +++ b/bindings/ruby/sfml-graphics/graphics/Drawable.cpp @@ -611,7 +611,7 @@ void Init_Drawable( void ) globalDrawableModule = rb_define_module_under( sfml, "Drawable" ); // Class methods - rb_define_singleton_method( globalDrawableModule, "included", Drawable_Included, 1 ); + rb_define_module_method( globalDrawableModule, "included", Drawable_Included, 1 ); // Instance methods rb_define_method( globalDrawableModule, "initialize", Drawable_Initialize, -1 );