mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 08:21:59 +02:00
mpris: Fix wrong object type
Fix a copy-paste bug
This commit is contained in:
@@ -771,12 +771,8 @@ gst_clapper_mpris_new (const gchar * own_name, const gchar * id_path,
|
|||||||
const gchar * identity, const gchar * desktop_entry,
|
const gchar * identity, const gchar * desktop_entry,
|
||||||
const gchar * default_art_url)
|
const gchar * default_art_url)
|
||||||
{
|
{
|
||||||
GstClapperMpris *self;
|
return g_object_new (GST_TYPE_CLAPPER_MPRIS,
|
||||||
|
|
||||||
self = g_object_new (GST_TYPE_CLAPPER,
|
|
||||||
"own-name", own_name, "id_path", id_path,
|
"own-name", own_name, "id_path", id_path,
|
||||||
"identity", identity, "desktop-entry", desktop_entry,
|
"identity", identity, "desktop-entry", desktop_entry,
|
||||||
"default-art-url", default_art_url, NULL);
|
"default-art-url", default_art_url, NULL);
|
||||||
|
|
||||||
return self;
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user