[virt-tools-list] [libosinfo PATCHv2 2/9] Set OsinfoOs::media for OSes stored in an OsinfoDb

Christophe Fergeau cfergeau at redhat.com
Tue Dec 11 20:17:04 UTC 2012


---
 osinfo/osinfo_os.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/osinfo/osinfo_os.c b/osinfo/osinfo_os.c
index 8d4ef6f..b6d3c47 100644
--- a/osinfo/osinfo_os.c
+++ b/osinfo/osinfo_os.c
@@ -433,6 +433,7 @@ void osinfo_os_add_media(OsinfoOs *os, OsinfoMedia *media)
     g_return_if_fail(OSINFO_IS_MEDIA(media));
 
     osinfo_list_add(OSINFO_LIST(os->priv->medias), OSINFO_ENTITY(media));
+    osinfo_media_set_os(media, os);
 }
 
 /**
-- 
1.8.0.1




More information about the virt-tools-list mailing list