[gxml] GomObject: Ignored properties returns null
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml] GomObject: Ignored properties returns null
- Date: Fri, 4 Nov 2016 21:16:22 +0000 (UTC)
commit f752b45e152984f3734a2d7b52e661da3161a092
Author: Daniel Espinosa <esodan gmail com>
Date: Fri Nov 4 15:15:17 2016 -0600
GomObject: Ignored properties returns null
test/GomSerializationTest.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/test/GomSerializationTest.vala b/test/GomSerializationTest.vala
index 19a52e9..d6cf18d 100644
--- a/test/GomSerializationTest.vala
+++ b/test/GomSerializationTest.vala
@@ -87,7 +87,7 @@ class GomSerializationTest : GXmlTest {
assert (c.model == "T3456-E");
assert (c.get_attribute ("model") == "T3456-E");
assert (c.ignore == "Nothing");
- assert (c.get_attribute ("ignore") == "Nothing");
+ assert (c.get_attribute ("ignore") == null);
s = c.to_string ();
GLib.message ("DOC:"+s);
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]