[vala/0.36] gobject-2.0: Add SignalHandler.disconnect_by_data()



commit 052053c7944afa945cbcc00c0c7b1996d1872dbf
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Feb 25 09:58:11 2019 +0100

    gobject-2.0: Add SignalHandler.disconnect_by_data()

 vapi/gobject-2.0.vapi | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi
index cacbc678a..90629ff68 100644
--- a/vapi/gobject-2.0.vapi
+++ b/vapi/gobject-2.0.vapi
@@ -87,6 +87,9 @@ namespace GLib {
                public static uint block_matched (void* instance, GLib.SignalMatchType mask, uint signal_id, 
GLib.Quark detail, GLib.Closure? closure, void* func, void* data);
                [CCode (cheader_filename = "glib-object.h")]
                public static void disconnect (void* instance, ulong handler_id);
+               [CCode (cheader_filename = "glib-object.h", cname = "g_signal_handlers_disconnect_by_data")]
+               [Version (since = "2.32")]
+               public static uint disconnect_by_data (void* instance, void* data);
                [CCode (cheader_filename = "glib-object.h", cname = "g_signal_handlers_disconnect_by_func")]
                public static uint disconnect_by_func (void* instance, void* func, void* data);
                [CCode (cheader_filename = "glib-object.h", cname = "g_signal_handlers_disconnect_matched")]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]