]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Fix short.abs() to be an instance method
authorLuca Bruno <lucabru@src.gnome.org>
Thu, 16 Jan 2014 21:48:44 +0000 (22:48 +0100)
committerLuca Bruno <lucabru@src.gnome.org>
Thu, 16 Jan 2014 21:48:44 +0000 (22:48 +0100)
vapi/glib-2.0.vapi

index db9d1a9cfac56b2562aea22bd3f37cc7f0e5e530..b73c308f778841c5a1e425c85974ccb9004e946f 100644 (file)
@@ -203,7 +203,7 @@ public struct short {
        [CCode (cname = "CLAMP")]
        public short clamp (short low, short high);
        [CCode (cname = "abs", cheader_filename = "stdlib.h")]
-       public static short abs ();
+       public short abs ();
 }
 
 [SimpleType]