[vala] gio-2.0: make Icon.new_for_string return value transfer ownership
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gio-2.0: make Icon.new_for_string return value transfer ownership
- Date: Tue, 26 Oct 2010 23:58:16 +0000 (UTC)
commit b4edb5656881fe78ce3e18bd76a9169866a1896e
Author: Evan Nemerson <evan coeus-group com>
Date: Tue Oct 26 16:56:38 2010 -0700
gio-2.0: make Icon.new_for_string return value transfer ownership
vapi/gio-2.0.vapi | 2 +-
vapi/packages/gio-2.0/gio-2.0.metadata | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index dddb0cd..8555995 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -1758,7 +1758,7 @@ namespace GLib {
[NoWrapper]
public abstract unowned GLib.Icon from_tokens (string tokens, int num_tokens, int version) throws GLib.Error;
public abstract uint hash (void* icon);
- public static unowned GLib.Icon new_for_string (string str) throws GLib.Error;
+ public static GLib.Icon? new_for_string (string str) throws GLib.Error;
public string to_string ();
[NoWrapper]
public abstract bool to_tokens (GLib.GenericArray tokens, int out_version);
diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata
index 4222883..1dcff3e 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -170,6 +170,7 @@ g_file_start_mountable async="1"
g_file_stop_mountable async="1"
g_file_unmount_mountable async="1"
g_file_unmount_mountable_with_operation async="1"
+g_icon_new_for_string transfer_ownership="1" nullable="1"
g_icon_to_string transfer_ownership="1"
g_inet_address_to_string transfer_ownership="1"
g_inet_address_to_bytes type_name="uint8" is_array="1" no_array_length="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]