tests: Do not use deprecated Gee.Map.remove()
authorMurray Cumming <murrayc@murrayc.com>
Thu, 6 Dec 2012 13:01:42 +0000 (14:01 +0100)
committerMurray Cumming <murrayc@murrayc.com>
Thu, 6 Dec 2012 13:03:12 +0000 (14:03 +0100)
tests/rygel-user-config-test.vala

index 94f6fd8..6f16b8f 100644 (file)
@@ -440,7 +440,7 @@ public class Rygel.UserConfigTest : GLib.Object {
 
             if (entries.remove (entry)) {
                 if (entries.size == 0) {
-                    changes.remove (section);
+                    changes.unset (section);
                 }
                 this.data_check ();
             } else {
@@ -470,7 +470,7 @@ public class Rygel.UserConfigTest : GLib.Object {
 
             if (keys.remove (key)) {
                 if (keys.size == 0) {
-                    changes.remove (section);
+                    changes.unset (section);
                 }
                 this.data_check ();
             } else {