[rygel] tests: Do not use deprecated Gee.Map.remove()
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] tests: Do not use deprecated Gee.Map.remove()
- Date: Thu, 6 Dec 2012 13:03:28 +0000 (UTC)
commit a1b2c8a5c6adaa59960f563c6eddd5afac8778a2
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Dec 6 14:01:42 2012 +0100
tests: Do not use deprecated Gee.Map.remove()
tests/rygel-user-config-test.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/rygel-user-config-test.vala b/tests/rygel-user-config-test.vala
index 94f6fd8..6f16b8f 100644
--- a/tests/rygel-user-config-test.vala
+++ b/tests/rygel-user-config-test.vala
@@ -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 {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]