From: Uwe Hermann Date: Sat, 24 Oct 2015 19:36:20 +0000 (+0200) Subject: transform/scale: Fix g_variant_new() argument. X-Git-Tag: libsigrok-0.4.0~191 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=a73665a3fa56f5997e20b24cc8c4fb8831ca131f;p=libsigrok.git transform/scale: Fix g_variant_new() argument. --- diff --git a/src/transform/scale.c b/src/transform/scale.c index ae82ee3f..ef2d6b45 100644 --- a/src/transform/scale.c +++ b/src/transform/scale.c @@ -118,7 +118,7 @@ static const struct sr_option *get_options(void) /* Default to a scaling factor of 1.0. */ if (!options[0].def) - options[0].def = g_variant_ref_sink(g_variant_new(("(xt"), &p, &q)); + options[0].def = g_variant_ref_sink(g_variant_new("(xt)", &p, &q)); return options; }