[vala] twitter-glib bindings: Fix signal param nullability
- From: Adrien Bustany <abustany src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] twitter-glib bindings: Fix signal param nullability
- Date: Fri, 5 Mar 2010 16:01:42 +0000 (UTC)
commit e2f833b52e069c9791307e3f22cbae050413b8d6
Author: Adrien Bustany <abustany gnome org>
Date: Fri Mar 5 12:59:13 2010 -0300
twitter-glib bindings: Fix signal param nullability
This commit marks the status param of the TwitterClient::status-received signal
as being nullable.
.../twitter-glib-1.0/twitter-glib-1.0.metadata | 1 +
vapi/twitter-glib-1.0.vapi | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/packages/twitter-glib-1.0/twitter-glib-1.0.metadata b/vapi/packages/twitter-glib-1.0/twitter-glib-1.0.metadata
index ba9a627..9e268f5 100644
--- a/vapi/packages/twitter-glib-1.0/twitter-glib-1.0.metadata
+++ b/vapi/packages/twitter-glib-1.0/twitter-glib-1.0.metadata
@@ -11,3 +11,4 @@ twitter_client_get_user.email is_out="1"
twitter_client_get_user.password is_out="1"
twitter_date_to_time_val.time_ is_out="1"
Twitter* cheader_filename="twitter-glib/twitter-glib.h"
+TwitterClient::status_received.status nullable="1"
diff --git a/vapi/twitter-glib-1.0.vapi b/vapi/twitter-glib-1.0.vapi
index d34a340..dd3d171 100644
--- a/vapi/twitter-glib-1.0.vapi
+++ b/vapi/twitter-glib-1.0.vapi
@@ -50,7 +50,7 @@ namespace Twitter {
public string user_agent { owned get; construct; }
public virtual signal bool authenticate (Twitter.AuthState state);
public virtual signal void session_ended ();
- public virtual signal void status_received (ulong handle, Twitter.Status status, GLib.Error error);
+ public virtual signal void status_received (ulong handle, Twitter.Status? status, GLib.Error error);
public virtual signal void timeline_complete ();
public virtual signal void user_received (ulong handle, Twitter.User user, GLib.Error error);
public virtual signal void user_verified (ulong handle, bool is_verified, GLib.Error error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]