[Libosinfo] [PATCH 1/2] Osinfo:entity is no longer construct-only

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Sat Dec 29 00:30:38 UTC 2012


From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>

As you'll see in the following patch, we need to set ID on existing media
instances now.
---
 osinfo/osinfo_entity.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/osinfo/osinfo_entity.c b/osinfo/osinfo_entity.c
index dc5a965..b291252 100644
--- a/osinfo/osinfo_entity.c
+++ b/osinfo/osinfo_entity.c
@@ -135,7 +135,7 @@ osinfo_entity_class_init (OsinfoEntityClass *klass)
                                  "ID",
                                  _("Unique identifier"),
                                  NULL /* default value */,
-                                 G_PARAM_CONSTRUCT_ONLY |
+                                 G_PARAM_CONSTRUCT |
                                  G_PARAM_READWRITE |
                                  G_PARAM_STATIC_STRINGS);
     g_object_class_install_property (g_klass,
-- 
1.8.0.2




More information about the Libosinfo mailing list