]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
bindings: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 21 Aug 2014 22:08:00 +0000 (00:08 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 21 Aug 2014 22:08:00 +0000 (00:08 +0200)
vapi/gdk-3.0.vapi
vapi/gio-2.0.vapi

index 3fe8b4cc6675c576444a045a1cceadaafb2ac8e9..140fdcc441c4480f8f24e0fb80c0dc62c436f78a 100644 (file)
@@ -5330,22 +5330,17 @@ namespace Gdk {
                public string name ();
        }
        [CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_color_get_type ()")]
+       [Deprecated (since = "3.14")]
        public struct Color {
                public uint32 pixel;
                public uint16 red;
                public uint16 green;
                public uint16 blue;
-               [Deprecated (since = "3.14")]
                public Gdk.Color? copy ();
-               [Deprecated (since = "3.14")]
                public bool equal (Gdk.Color colorb);
-               [Deprecated (since = "3.14")]
                public void free ();
-               [Deprecated (since = "3.14")]
                public uint hash ();
-               [Deprecated (since = "3.14")]
                public static bool parse (string spec, out Gdk.Color color);
-               [Deprecated (since = "3.14")]
                public string to_string ();
        }
        [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
index 3850923f0fd78d826043ab784dfcf6ecac1675df..5baa03495690622456b0d9d7e5703463f4caf551 100644 (file)
@@ -279,6 +279,7 @@ namespace GLib {
        public class Application : GLib.Object, GLib.ActionGroup, GLib.ActionMap {
                [CCode (has_construct_function = false)]
                public Application (string? application_id, GLib.ApplicationFlags flags);
+               public void add_main_option (string long_name, char short_name, int flags, GLib.OptionArg arg, string description, string? arg_description);
                public void add_main_option_entries ([CCode (array_length = false, array_null_terminated = true)] GLib.OptionEntry[] entries);
                public void add_option_group (GLib.OptionGroup group);
                [NoWrapper]