[vala/0.52] glib-2.0: expected_type and return value of VariantDict.lookup_value() is nullable



commit f481839c07dfcb0fe9640416007ecb169bd94482
Author: Princeton Ferro <princetonferro gmail com>
Date:   Wed Jul 7 16:51:42 2021 +0000

    glib-2.0: expected_type and return value of VariantDict.lookup_value() is nullable

 vapi/glib-2.0.vapi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index c02a3ed86..b080053c2 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -6379,7 +6379,7 @@ namespace GLib {
        public class VariantDict {
                public VariantDict (GLib.Variant? from_asv = null);
                public bool lookup (string key, string format_string, ...);
-               public GLib.Variant lookup_value (string key, GLib.VariantType expected_type);
+               public GLib.Variant? lookup_value (string key, GLib.VariantType? expected_type);
                public bool contains (string key);
                public void insert (string key, string format_string, ...);
                public void insert_value (string key, GLib.Variant value);


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