From: Rico Tzschichholz Date: Wed, 30 May 2018 09:09:21 +0000 (+0200) Subject: gdk-3.0: Drop vala-specific deprecations <= vala-0.22 X-Git-Tag: 0.41.90~104 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c076ed43abb3a4dac6175ffdb6f3db4dcb1be23;p=thirdparty%2Fvala.git gdk-3.0: Drop vala-specific deprecations <= vala-0.22 --- diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi index 427e75819..e89c5a0a2 100644 --- a/vapi/gdk-3.0.vapi +++ b/vapi/gdk-3.0.vapi @@ -6841,30 +6841,6 @@ namespace Gdk { [Version (deprecated = true, deprecated_since = "3.22")] public static void query_visual_types ([CCode (array_length_cname = "count", array_length_pos = 1.1)] out unowned Gdk.VisualType[] visual_types); [CCode (cheader_filename = "gdk/gdk.h")] - [Version (deprecated_since = "vala-0.12", replacement = "Selection.convert")] - public static void selection_convert (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, uint32 time_); - [CCode (cheader_filename = "gdk/gdk.h")] - [Version (deprecated_since = "vala-0.12", replacement = "Selection.owner_get")] - public static unowned Gdk.Window selection_owner_get (Gdk.Atom selection); - [CCode (cheader_filename = "gdk/gdk.h")] - [Version (deprecated_since = "vala-0.12", replacement = "Selection.owner_get_for_display")] - public static unowned Gdk.Window selection_owner_get_for_display (Gdk.Display display, Gdk.Atom selection); - [CCode (cheader_filename = "gdk/gdk.h")] - [Version (deprecated_since = "vala-0.12", replacement = "Selection.owner_set")] - public static bool selection_owner_set (Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event); - [CCode (cheader_filename = "gdk/gdk.h")] - [Version (deprecated_since = "vala-0.12", replacement = "Selection.owner_set_for_display")] - public static bool selection_owner_set_for_display (Gdk.Display display, Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event); - [CCode (cheader_filename = "gdk/gdk.h")] - [Version (deprecated_since = "vala-0.12", replacement = "Selection.property_get")] - public static int selection_property_get (Gdk.Window requestor, uchar[] data, out Gdk.Atom prop_type, int prop_format); - [CCode (cheader_filename = "gdk/gdk.h")] - [Version (deprecated_since = "vala-0.12", replacement = "Selection.send_notify")] - public static void selection_send_notify (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_); - [CCode (cheader_filename = "gdk/gdk.h")] - [Version (deprecated_since = "vala-0.12", replacement = "Selection.send_notify_for_display")] - public static void selection_send_notify_for_display (Gdk.Display display, Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_); - [CCode (cheader_filename = "gdk/gdk.h")] [Version (since = "3.10")] public static void set_allowed_backends (string backends); [CCode (cheader_filename = "gdk/gdk.h")] diff --git a/vapi/metadata/Gdk-3.0-custom.vala b/vapi/metadata/Gdk-3.0-custom.vala index ca91b1915..7754e5468 100644 --- a/vapi/metadata/Gdk-3.0-custom.vala +++ b/vapi/metadata/Gdk-3.0-custom.vala @@ -43,28 +43,10 @@ namespace Gdk { public class XEvent { } + [CCode (cheader_filename = "gdk/gdk.h")] public const Gdk.Atom SELECTION_CLIPBOARD; [CCode (cheader_filename = "gdk/gdk.h")] public const Gdk.Atom SELECTION_PRIMARY; [CCode (cheader_filename = "gdk/gdk.h")] public const Gdk.Atom SELECTION_SECONDARY; - [CCode (cheader_filename = "gdk/gdk.h")] - - [Version (replacement = "Selection.convert", deprecated_since = "vala-0.12")] - public static void selection_convert (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, uint32 time_); - [Version (replacement = "Selection.owner_get", deprecated_since = "vala-0.12")] - public static unowned Gdk.Window selection_owner_get (Gdk.Atom selection); - [CCode (cheader_filename = "gdk/gdk.h")] - [Version (replacement = "Selection.owner_get_for_display", deprecated_since = "vala-0.12")] - public static unowned Gdk.Window selection_owner_get_for_display (Gdk.Display display, Gdk.Atom selection); - [Version (replacement = "Selection.owner_set", deprecated_since = "vala-0.12")] - public static bool selection_owner_set (Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event); - [Version (replacement = "Selection.owner_set_for_display", deprecated_since = "vala-0.12")] - public static bool selection_owner_set_for_display (Gdk.Display display, Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event); - [Version (replacement = "Selection.property_get", deprecated_since = "vala-0.12")] - public static int selection_property_get (Gdk.Window requestor, uchar[] data, out Gdk.Atom prop_type, int prop_format); - [Version (replacement = "Selection.send_notify", deprecated_since = "vala-0.12")] - public static void selection_send_notify (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_); - [Version (replacement = "Selection.send_notify_for_display", deprecated_since = "vala-0.12")] - public static void selection_send_notify_for_display (Gdk.Display display, Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_); }