Commit 138df277 authored by Sebastian Pölsterl's avatar Sebastian Pölsterl Committed by John (J5) Palmieri
Browse files

[gi] Added support for GVariant arguments

This is required in order for the "g-signal" signal of GDBusProxy to work properly and thus to properly receive DBus signals with any type of argument.
parent 985f239d
......@@ -1844,6 +1844,8 @@ _pygi_argument_from_g_value(const GValue *value,
arg.v_pointer = g_value_get_boxed (value);
} else if (G_VALUE_HOLDS(value, G_TYPE_VARIANT)) {
arg.v_pointer = g_value_get_variant (value);
} else {
arg.v_pointer = g_value_get_pointer (value);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment