mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
element: don't use G_CONST_RETURN
It's been deprecated in newer GLib versions
This commit is contained in:
parent
9e308d150a
commit
388548222d
2 changed files with 2 additions and 2 deletions
|
@ -1321,7 +1321,7 @@ gst_element_class_set_metadata (GstElementClass * klass,
|
|||
*
|
||||
* Returns: the metadata for @key.
|
||||
*/
|
||||
G_CONST_RETURN gchar *
|
||||
const gchar *
|
||||
gst_element_class_get_metadata (GstElementClass * klass, const gchar * key)
|
||||
{
|
||||
g_return_val_if_fail (GST_IS_ELEMENT_CLASS (klass), NULL);
|
||||
|
|
|
@ -675,7 +675,7 @@ void gst_element_class_set_metadata (GstElementClass
|
|||
const gchar *author);
|
||||
void gst_element_class_add_metadata (GstElementClass * klass,
|
||||
const gchar * key, const gchar * value);
|
||||
G_CONST_RETURN gchar * gst_element_class_get_metadata (GstElementClass * klass,
|
||||
const gchar * gst_element_class_get_metadata (GstElementClass * klass,
|
||||
const gchar * key);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue