[vala] libsoup-2.4: Make Soup.Session.queue_message callback nullable



commit fa34669d5ad46f7fedab76c0092a8a3491a9982e
Author: Evan Nemerson <evan coeus-group com>
Date:   Wed Mar 10 11:53:30 2010 -0800

    libsoup-2.4: Make Soup.Session.queue_message callback nullable
    
    Fixes bug 612050.

 vapi/libsoup-2.4.vapi                          |    2 +-
 vapi/packages/libsoup-2.4/libsoup-2.4.metadata |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi
index ed282ca..55ef7e5 100644
--- a/vapi/libsoup-2.4.vapi
+++ b/vapi/libsoup-2.4.vapi
@@ -375,7 +375,7 @@ namespace Soup {
 		public virtual void cancel_message (Soup.Message msg, uint status_code);
 		public unowned GLib.MainContext get_async_context ();
 		public void pause_message (Soup.Message msg);
-		public virtual void queue_message (owned Soup.Message msg, Soup.SessionCallback callback);
+		public virtual void queue_message (owned Soup.Message msg, Soup.SessionCallback? callback);
 		public void remove_feature (Soup.SessionFeature feature);
 		public virtual void requeue_message (Soup.Message msg);
 		public virtual uint send_message (Soup.Message msg);
diff --git a/vapi/packages/libsoup-2.4/libsoup-2.4.metadata b/vapi/packages/libsoup-2.4/libsoup-2.4.metadata
index a9fc405..8bc6707 100644
--- a/vapi/packages/libsoup-2.4/libsoup-2.4.metadata
+++ b/vapi/packages/libsoup-2.4/libsoup-2.4.metadata
@@ -30,6 +30,7 @@ SoupSession::add_feature has_emitter="1"
 SoupSession::add_feature_by_type has_emitter="1"
 SoupSession::remove_feature_by_type has_emitter="1"
 soup_session_queue_message.msg transfer_ownership="1"
+soup_session_queue_message.callback nullable="1"
 soup_session_async_new_with_options ellipsis="1"
 soup_session_sync_new_with_options ellipsis="1"
 soup_uri_decode transfer_ownership="1"



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