mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 07:08:23 +00:00
gst/gstvalue.c: use deprecated g_value_set_string_take_ownership to keep compatible with glib 2.2
Original commit message from CVS: * gst/gstvalue.c: (gst_value_deserialize_string): use deprecated g_value_set_string_take_ownership to keep compatible with glib 2.2
This commit is contained in:
parent
bdc0432ec6
commit
5f22a8a6d7
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2004-12-17 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||||
|
|
||||||
|
* gst/gstvalue.c: (gst_value_deserialize_string):
|
||||||
|
use deprecated g_value_set_string_take_ownership to keep compatible
|
||||||
|
with glib 2.2
|
||||||
|
|
||||||
2004-12-17 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
2004-12-17 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||||
|
|
||||||
* gst/gstvalue.c: (gst_value_deserialize_string):
|
* gst/gstvalue.c: (gst_value_deserialize_string):
|
||||||
|
|
|
@ -1341,7 +1341,7 @@ gst_value_deserialize_string (GValue * dest, const char *s)
|
||||||
|
|
||||||
if (!str)
|
if (!str)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
g_value_take_string (dest, str);
|
g_value_set_string_take_ownership (dest, str);
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in a new issue