[vala] gio-2.0: Fix g_content_type_* bindings
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gio-2.0: Fix g_content_type_* bindings
- Date: Mon, 12 Jul 2010 08:59:13 +0000 (UTC)
commit f0febe11d7e03bf5f1eac55e8e64e8c9b34efc94
Author: Jürg Billeter <j bitron ch>
Date: Mon Jul 12 10:58:35 2010 +0200
gio-2.0: Fix g_content_type_* bindings
vapi/gio-2.0.vapi | 12 ++++++------
vapi/packages/gio-2.0/gio-2.0.metadata | 3 +++
2 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index bb48ded..388de46 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -2188,17 +2188,17 @@ namespace GLib {
[CCode (cname = "g_content_type_equals", cheader_filename = "gio/gio.h")]
public static bool g_content_type_equals (string type1, string type2);
[CCode (cname = "g_content_type_from_mime_type", cheader_filename = "gio/gio.h")]
- public static unowned string g_content_type_from_mime_type (string mime_type);
+ public static string g_content_type_from_mime_type (string mime_type);
[CCode (cname = "g_content_type_get_description", cheader_filename = "gio/gio.h")]
- public static unowned string g_content_type_get_description (string type);
+ public static string g_content_type_get_description (string type);
[CCode (cname = "g_content_type_get_icon", cheader_filename = "gio/gio.h")]
- public static unowned GLib.Icon g_content_type_get_icon (string type);
+ public static GLib.Icon g_content_type_get_icon (string type);
[CCode (cname = "g_content_type_get_mime_type", cheader_filename = "gio/gio.h")]
- public static unowned string g_content_type_get_mime_type (string type);
+ public static string g_content_type_get_mime_type (string type);
[CCode (cname = "g_content_type_guess", cheader_filename = "gio/gio.h")]
- public static unowned string g_content_type_guess (string filename, uchar[] data, out bool result_uncertain);
+ public static string g_content_type_guess (string filename, uchar[] data, out bool result_uncertain);
[CCode (cname = "g_content_type_guess_for_tree", cheader_filename = "gio/gio.h")]
- public static unowned string g_content_type_guess_for_tree (GLib.File root);
+ public static string g_content_type_guess_for_tree (GLib.File root);
[CCode (cname = "g_content_type_is_a", cheader_filename = "gio/gio.h")]
public static bool g_content_type_is_a (string type, string supertype);
[CCode (cname = "g_content_type_is_unknown", cheader_filename = "gio/gio.h")]
diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata
index af4215a..4e1d371 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -11,6 +11,9 @@ GAsyncReadyCallback.source_object nullable="1"
g_async_initable_new_async transfer_ownership="1"
g_async_initable_new_async.cancellable nullable="1"
g_buffered_input_stream_peek_buffer.count is_out="1"
+g_content_type_from_mime_type transfer_ownership="1"
+g_content_type_get_* transfer_ownership="1"
+g_content_type_guess* transfer_ownership="1"
g_content_type_guess.data_size hidden="1"
g_content_type_guess.result_uncertain is_out="1"
g_content_types_get_registered type_arguments="string" transfer_ownership="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]