mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
soup: also use g_value_set_static_string() here for static strings
This commit is contained in:
parent
f961f884b6
commit
b892d23090
1 changed files with 1 additions and 1 deletions
|
@ -497,7 +497,7 @@ gst_soup_http_src_get_property (GObject * object, guint prop_id,
|
||||||
break;
|
break;
|
||||||
case PROP_PROXY:
|
case PROP_PROXY:
|
||||||
if (src->proxy == NULL)
|
if (src->proxy == NULL)
|
||||||
g_value_set_string (value, "");
|
g_value_set_static_string (value, "");
|
||||||
else {
|
else {
|
||||||
char *proxy = soup_uri_to_string (src->proxy, FALSE);
|
char *proxy = soup_uri_to_string (src->proxy, FALSE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue