From 0f687f0ccbd7533a54dec38ca8dc5acd9a60e64a Mon Sep 17 00:00:00 2001 From: Hein-Pieter van Braam Date: Sun, 12 Feb 2017 01:11:37 +0100 Subject: Remove use of _SCS from ADD_METHOD This saves typing and is a step towards fixing #56 --- scene/gui/button_array.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/gui/button_array.cpp') diff --git a/scene/gui/button_array.cpp b/scene/gui/button_array.cpp index 3d7c0e2825..557b128ac4 100644 --- a/scene/gui/button_array.cpp +++ b/scene/gui/button_array.cpp @@ -552,7 +552,7 @@ void ButtonArray::_bind_methods() { BIND_CONSTANT( ALIGN_FILL ); BIND_CONSTANT( ALIGN_EXPAND_FILL ); - ADD_PROPERTY( PropertyInfo( Variant::BOOL, "flat" ), _SCS("set_flat"),_SCS("is_flat") ); + ADD_PROPERTY( PropertyInfo( Variant::BOOL, "flat" ), "set_flat","is_flat") ; ADD_SIGNAL( MethodInfo("button_selected",PropertyInfo(Variant::INT,"button_idx"))); -- cgit v1.2.3