diff options
author | Pablo Barciela <[email protected]> | 2018-01-06 03:44:27 +0100 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2018-01-06 03:44:27 +0100 |
commit | f43fb7da0f7a4d37180e00132b83e10179c6aec6 (patch) | |
tree | d53ef63feae527e2091d63c943dc65a8c287d6f8 /plugins | |
parent | ad8d6113bc96909c616642c6de34ac818b097617 (diff) | |
download | mate-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')
-rw-r--r-- | plugins/mpris/msd-mpris-manager.c | 2 |
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); |