[vala] Add missing args to Variant.new_from_data



commit c17a77d173b057526d9fb26c3a0b5901f171b10f
Author: Ryan Lortie <desrt desrt ca>
Date:   Sun Mar 28 12:14:05 2010 -0500

    Add missing args to Variant.new_from_data
    
    and fix argument order.

 vapi/glib-2.0.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 5d3040d..e5aa093 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -3841,7 +3841,7 @@ namespace GLib {
 		public Variant get_normal_form ();
 		public bool is_normal_form ();
 		[CCode (returns_floating_reference = true, simple_generics = true)]
-		public static Variant new_from_data<T> (uchar[] data, [CCode (destroy_notify_pos = 37.5)] owned T? owner);
+		public static Variant new_from_data<T> (VariantType type, uchar[] data, bool trusted, [CCode (destroy_notify_pos = 3.9)] owned T? owner = null);
 
 		[CCode (cname = "g_variant_iter_new")]
 		public VariantIter iterator ();



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