mirror of
https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio.git
synced 2024-12-18 14:06:30 +00:00
properties: fix expect for ParamSpecFlags
This commit is contained in:
parent
a6f03db8f6
commit
18458e3465
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ pub fn property_to_widget<F: Fn(String, String) + 'static>(
|
||||||
let param = param
|
let param = param
|
||||||
.clone()
|
.clone()
|
||||||
.downcast::<glib::ParamSpecFlags>()
|
.downcast::<glib::ParamSpecFlags>()
|
||||||
.expect("Should be a ParamSpecEnum");
|
.expect("Should be a ParamSpecFlags");
|
||||||
let flags = param.flags_class();
|
let flags = param.flags_class();
|
||||||
for value in flags.values() {
|
for value in flags.values() {
|
||||||
combo.append_text(&format!(
|
combo.append_text(&format!(
|
||||||
|
|
Loading…
Reference in a new issue