mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 16:18:16 +00:00
ugly: use of g_value_dup_string
Use helper method to get string from GValue.
This commit is contained in:
parent
0dd89a1dd2
commit
a47b6b5f3c
1 changed files with 1 additions and 1 deletions
|
@ -1037,7 +1037,7 @@ gst_dvd_read_src_set_property (GObject * object, guint prop_id,
|
|||
if (g_value_get_string (value) == NULL) {
|
||||
src->location = g_strdup ("/dev/dvd");
|
||||
} else {
|
||||
src->location = g_strdup (g_value_get_string (value));
|
||||
src->location = g_value_dup_string (value);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue