[libosinfo PATCH v2 2/7] tree: Don't set "has-treeinfo" property's default to TRUE

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

 



Doesn't make sense to set "has-treeinfo" property to TRUE by default
knowing that debian and ubuntu trees do not support treeinfo.

This was mistakenly added as part of commit eb53f8d6.

Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx>
---
 osinfo/osinfo_tree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/osinfo/osinfo_tree.c b/osinfo/osinfo_tree.c
index 3a88da0..41e52d8 100644
--- a/osinfo/osinfo_tree.c
+++ b/osinfo/osinfo_tree.c
@@ -359,7 +359,7 @@ osinfo_tree_class_init(OsinfoTreeClass *klass)
     pspec = g_param_spec_boolean("has-treeinfo",
                                  "HasTreeinfo",
                                  _("Whether the tree has treeinfo"),
-                                 TRUE /* default value */,
+                                 FALSE /* default value */,
                                  G_PARAM_READWRITE |
                                  G_PARAM_STATIC_STRINGS);
     g_object_class_install_property(g_klass, PROP_HAS_TREEINFO, pspec);
-- 
2.21.0

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux