[rygel/rygel-0-14] mpris: Fix compilation with glib <= 2.28



commit 45a74d94818146391648c48819736878d6ed5ed1
Author: Jens Georg <mail jensge org>
Date:   Fri Apr 6 00:14:26 2012 +0200

    mpris: Fix compilation with glib <= 2.28

 src/plugins/mpris/rygel-mpris-player.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/mpris/rygel-mpris-player.vala b/src/plugins/mpris/rygel-mpris-player.vala
index 324b368..8c99fee 100644
--- a/src/plugins/mpris/rygel-mpris-player.vala
+++ b/src/plugins/mpris/rygel-mpris-player.vala
@@ -155,7 +155,7 @@ public class Rygel.MPRIS.Player : GLib.Object, Rygel.MediaPlayer {
     private void on_properties_changed (DBusProxy actual_player,
                                         Variant   changed,
                                         string[]  invalidated) {
-        if (!changed.get_type().equal (VariantType.VARDICT)) {
+        if (!changed.get_type().equal ((VariantType) "a{sv}")) {
             return;
         }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]