]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Add (unfortunate) CCode finish_function alias for function_name.
authorLuca Bruno <lucabru@src.gnome.org>
Sun, 12 May 2013 18:14:11 +0000 (20:14 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Sun, 12 May 2013 18:14:28 +0000 (20:14 +0200)
codegen/valaccodeattribute.vala

index e9af7f482c2ccc99b107cb3b99f82c06d4782ad7..a4a1614f9f64652ecb4036da6ae1ceac41d2618d 100644 (file)
@@ -410,6 +410,9 @@ public class Vala.CCodeAttribute : AttributeCache {
                                if (ccode != null) {
                                        _finish_name = ccode.get_string ("finish_name");
                                }
+                               if (_finish_name == null) {
+                                       _finish_name = ccode.get_string ("finish_function");
+                               }
                                if (_finish_name == null) {
                                        _finish_name = get_finish_name_for_basename (name);
                                }