]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk4: Fix GLib.Value parameter in Expression.evaluate()
authorSamuel Dionne-Riel <samuel@dionne-riel.com>
Sat, 25 Nov 2023 05:57:54 +0000 (00:57 -0500)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 28 Jan 2024 14:58:57 +0000 (15:58 +0100)
Signed-off-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
vapi/gtk4.vapi
vapi/metadata/Gtk-4.0.metadata

index 34cbd9caacc42e4eaa267cf195dbbc264825467f..c30f845b7778b2629efcf6bb37f58351a335d81f 100644 (file)
@@ -8496,7 +8496,7 @@ namespace Gtk {
                protected Expression ();
                [DestroysInstance]
                public unowned Gtk.ExpressionWatch bind (GLib.Object target, string property, GLib.Object? this_);
-               public bool evaluate (GLib.Object? this_, GLib.Value value);
+               public bool evaluate (GLib.Object? this_, ref GLib.Value value);
                public GLib.Type get_value_type ();
                public bool is_static ();
                public unowned Gtk.Expression @ref ();
index 8b50f3e51801721d5d03a5b988b09041e210c58f..86013d766fc0c9b7f0d98d756c9874807278849e 100644 (file)
@@ -272,6 +272,8 @@ CellArea
   .get_cell_property.value ref
 CssProvider
   .load_from_data.data type="uint8[]" array array_length_idx=1
+Expression
+  .evaluate.value ref
 param_spec_expression parent="Gtk.ParamSpecExpression" name="new" symbol_type="constructor"
 value_get_expression.value ref
 value_set_expression.value ref