]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: Fix g_content_type_* bindings
authorJürg Billeter <j@bitron.ch>
Mon, 12 Jul 2010 08:58:35 +0000 (10:58 +0200)
committerJürg Billeter <j@bitron.ch>
Mon, 12 Jul 2010 08:58:35 +0000 (10:58 +0200)
vapi/gio-2.0.vapi
vapi/packages/gio-2.0/gio-2.0.metadata

index bb48ded49e2a4d25d2ec08bdac9faa1bb1302af7..388de46c29e3c78a1b252f240d39c505a3c8a7aa 100644 (file)
@@ -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")]
index af4215a342c9941a364fcc3cff8f18ce6d88c119..4e1d3712d46d3d01375f61111a3106a187279d45 100644 (file)
@@ -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"