[rygel] core,media-export: Port to libgee-0.5



commit a9b38b56010bd44a1e26a0975cc25bbf7ae35ef5
Author: Jens Georg <mail jensge org>
Date:   Sat Oct 3 13:00:31 2009 +0200

    core,media-export: Port to libgee-0.5

 configure.ac                                       |    2 +-
 .../rygel-media-export-recursive-file-monitor.vala |    2 +-
 src/rygel/rygel-plugin-loader.vala                 |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 85451b0..a35a76d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
diff --git a/src/plugins/media-export/rygel-media-export-recursive-file-monitor.vala b/src/plugins/media-export/rygel-media-export-recursive-file-monitor.vala
index 1cc7789..76b35b9 100644
--- a/src/plugins/media-export/rygel-media-export-recursive-file-monitor.vala
+++ b/src/plugins/media-export/rygel-media-export-recursive-file-monitor.vala
@@ -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 ();
             }
         }
diff --git a/src/rygel/rygel-plugin-loader.vala b/src/rygel/rygel-plugin-loader.vala
index 48ddc27..3460c1f 100644
--- a/src/rygel/rygel-plugin-loader.vala
+++ b/src/rygel/rygel-plugin-loader.vala
@@ -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) {



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