mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
debugutils: fix warning on enum properties printing
https://bugzilla.gnome.org/show_bug.cgi?id=766251
This commit is contained in:
parent
14f71d2e27
commit
58f964da96
1 changed files with 3 additions and 1 deletions
|
@ -150,8 +150,10 @@ debug_dump_get_object_params (GObject * object,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (tmp == NULL)
|
if (tmp == NULL) {
|
||||||
|
g_value_unset (&value);
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
} else if (G_VALUE_HOLDS_FLAGS (&value)) {
|
} else if (G_VALUE_HOLDS_FLAGS (&value)) {
|
||||||
GFlagsClass *f_class = g_type_class_ref (G_VALUE_TYPE (&value));
|
GFlagsClass *f_class = g_type_class_ref (G_VALUE_TYPE (&value));
|
||||||
GFlagsValue *vals = f_class->values;
|
GFlagsValue *vals = f_class->values;
|
||||||
|
|
Loading…
Reference in a new issue