core,media-export: Port to libgee-0.5
authorJens Georg <mail@jensge.org>
Sat, 3 Oct 2009 11:00:31 +0000 (13:00 +0200)
committerJens Georg <mail@jensge.org>
Sat, 3 Oct 2009 11:07:17 +0000 (13:07 +0200)
configure.ac
src/plugins/media-export/rygel-media-export-recursive-file-monitor.vala
src/rygel/rygel-plugin-loader.vala

index 85451b0..a35a76d 100644 (file)
@@ -27,7 +27,7 @@ GUPNP_VALA_REQUIRED=0.6
 DBUS_GLIB_REQUIRED=0.74
 GSTREAMER_REQUIRED=0.10.23
 GIO_REQUIRED=2.16
-GEE_REQUIRED=0.3.0
+GEE_REQUIRED=0.5.0
 UUID_REQUIRED=1.41.3
 LIBSOUP_REQUIRED=2.26.0
 GTK_REQUIRED=2.16
index 1cc7789..76b35b9 100644 (file)
@@ -87,7 +87,7 @@ public class Rygel.MediaExportRecursiveFileMonitor : Object {
         if (this.cancellable != null) {
             this.cancellable.cancel ();
         } else {
-            foreach (var monitor in this.monitors.get_values ()) {
+            foreach (var monitor in this.monitors.values) {
                 monitor.cancel ();
             }
         }
index 48ddc27..3460c1f 100644 (file)
@@ -65,7 +65,7 @@ public class Rygel.PluginLoader : Object {
     }
 
     public Collection<Plugin> list_plugins () {
-        return this.plugin_hash.get_values ();
+        return this.plugin_hash.values;
     }
 
     private void load_modules_from_dir (File dir) {