[vala/staging: 1/4] libsoup-2.4: Fix Message.add_*_handler() by unhiding user_data parameter
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging: 1/4] libsoup-2.4: Fix Message.add_*_handler() by unhiding user_data parameter
- Date: Mon, 14 Jan 2019 13:22:08 +0000 (UTC)
commit ccb8f50c4602467375bc4fc69da8980541556a25
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Jan 13 13:36:56 2019 +0100
libsoup-2.4: Fix Message.add_*_handler() by unhiding user_data parameter
See https://gitlab.gnome.org/GNOME/vala/issues/731
vapi/libsoup-2.4.vapi | 4 ++--
vapi/metadata/Soup-2.4.metadata | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi
index 388a172be..a304cdef7 100644
--- a/vapi/libsoup-2.4.vapi
+++ b/vapi/libsoup-2.4.vapi
@@ -511,8 +511,8 @@ namespace Soup {
public weak Soup.MessageHeaders response_headers;
[CCode (has_construct_function = false)]
public Message (string method, string uri_string);
- public uint add_header_handler (string @signal, string header, GLib.Callback callback);
- public uint add_status_code_handler (string @signal, uint status_code, GLib.Callback
callback);
+ public uint add_header_handler (string @signal, string header, GLib.Callback callback, void*
user_data);
+ public uint add_status_code_handler (string @signal, uint status_code, GLib.Callback
callback, void* user_data);
[Version (since = "2.28")]
public void disable_feature (GLib.Type feature_type);
[CCode (has_construct_function = false)]
diff --git a/vapi/metadata/Soup-2.4.metadata b/vapi/metadata/Soup-2.4.metadata
index c0056ec82..da6595643 100644
--- a/vapi/metadata/Soup-2.4.metadata
+++ b/vapi/metadata/Soup-2.4.metadata
@@ -27,7 +27,9 @@ ContentSniffer.sniff.params nullable
form_* skip=false
Message
.add_header_handler skip=false
+ .add_header_handler.callback closure=-1
.add_status_code_handler skip=false
+ .add_status_code_handler.callback closure=-1
.request_*#property skip
.response_*#property skip
.set_request.req_body type="uint8[]" array_length_idx=3
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]