summaryrefslogtreecommitdiff
path: root/plugins/mpris/msd-mpris-manager.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-01-06 03:44:27 +0100
committerPablo Barciela <[email protected]>2018-01-06 03:44:27 +0100
commitf43fb7da0f7a4d37180e00132b83e10179c6aec6 (patch)
treed53ef63feae527e2091d63c943dc65a8c287d6f8 /plugins/mpris/msd-mpris-manager.c
parentad8d6113bc96909c616642c6de34ac818b097617 (diff)
downloadmate-settings-daemon-f43fb7da0f7a4d37180e00132b83e10179c6aec6.tar.bz2
mate-settings-daemon-f43fb7da0f7a4d37180e00132b83e10179c6aec6.tar.xz
msd-mpris-manager.c: Fix build warning:
passing argument 3 of ‘g_queue_find_custom’ from incompatible pointer type
Diffstat (limited to 'plugins/mpris/msd-mpris-manager.c')
-rw-r--r--plugins/mpris/msd-mpris-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mpris/msd-mpris-manager.c b/plugins/mpris/msd-mpris-manager.c
index 35f26db..ea61125 100644
--- a/plugins/mpris/msd-mpris-manager.c
+++ b/plugins/mpris/msd-mpris-manager.c
@@ -144,7 +144,7 @@ mp_name_vanished (GDBusConnection *connection,
player_name = get_player_name(name);
player_list = g_queue_find_custom (manager->priv->media_player_queue,
- player_name, g_strcmp0);
+ player_name, (GCompareFunc) g_strcmp0);
if (player_list)
g_queue_remove (manager->priv->media_player_queue, player_list->data);