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

[virt-tools-list] [libosinfo 3/4] Deprecate osinfo_*list_new_*



The generic equivalent provided by OsinfoList should be used instead.
---
 osinfo/osinfo_deploymentlist.c     | 4 ++++
 osinfo/osinfo_deploymentlist.h     | 4 ++++
 osinfo/osinfo_devicelinklist.c     | 4 ++++
 osinfo/osinfo_devicelinklist.h     | 4 ++++
 osinfo/osinfo_devicelist.c         | 4 ++++
 osinfo/osinfo_devicelist.h         | 4 ++++
 osinfo/osinfo_install_scriptlist.c | 4 ++++
 osinfo/osinfo_install_scriptlist.h | 4 ++++
 osinfo/osinfo_medialist.c          | 4 ++++
 osinfo/osinfo_medialist.h          | 4 ++++
 osinfo/osinfo_oslist.c             | 4 ++++
 osinfo/osinfo_oslist.h             | 4 ++++
 osinfo/osinfo_platformlist.c       | 4 ++++
 osinfo/osinfo_platformlist.h       | 4 ++++
 osinfo/osinfo_productlist.c        | 4 ++++
 osinfo/osinfo_productlist.h        | 4 ++++
 osinfo/osinfo_resourceslist.c      | 4 ++++
 osinfo/osinfo_resourceslist.h      | 4 ++++
 osinfo/osinfo_treelist.c           | 4 ++++
 osinfo/osinfo_treelist.h           | 4 ++++
 20 files changed, 80 insertions(+)

diff --git a/osinfo/osinfo_deploymentlist.c b/osinfo/osinfo_deploymentlist.c
index 9e76028..d411cff 100644
--- a/osinfo/osinfo_deploymentlist.c
+++ b/osinfo/osinfo_deploymentlist.c
@@ -94,6 +94,7 @@ OsinfoDeploymentList *osinfo_deploymentlist_new(void)
  * from @source
  *
  * Returns: (transfer full): a copy of the deployment list
+ * Deprecated: 0.2.2: Use osinfo_list_new_copy() instead.
  */
 OsinfoDeploymentList *osinfo_deploymentlist_new_copy(OsinfoDeploymentList *source)
 {
@@ -113,6 +114,7 @@ OsinfoDeploymentList *osinfo_deploymentlist_new_copy(OsinfoDeploymentList *sourc
  * from @source that match @filter
  *
  * Returns: (transfer full): a filtered copy of the deployment list
+ * Deprecated: 0.2.2: Use osinfo_list_new_filtered() instead.
  */
 OsinfoDeploymentList *osinfo_deploymentlist_new_filtered(OsinfoDeploymentList *source, OsinfoFilter *filter)
 {
@@ -132,6 +134,7 @@ OsinfoDeploymentList *osinfo_deploymentlist_new_filtered(OsinfoDeploymentList *s
  * deployments that are present in both @sourceOne and @sourceTwo.
  *
  * Returns: (transfer full): an intersection of the two deployment lists
+ * Deprecated: 0.2.2: Use osinfo_list_new_intersection() instead.
  */
 OsinfoDeploymentList *osinfo_deploymentlist_new_intersection(OsinfoDeploymentList *sourceOne, OsinfoDeploymentList *sourceTwo)
 {
@@ -151,6 +154,7 @@ OsinfoDeploymentList *osinfo_deploymentlist_new_intersection(OsinfoDeploymentLis
  * deployments that are present in either @sourceOne and @sourceTwo.
  *
  * Returns: (transfer full): a union of the two deployment lists
+ * Deprecated: 0.2.2: Use osinfo_list_new_union() instead.
  */
 OsinfoDeploymentList *osinfo_deploymentlist_new_union(OsinfoDeploymentList *sourceOne, OsinfoDeploymentList *sourceTwo)
 {
diff --git a/osinfo/osinfo_deploymentlist.h b/osinfo/osinfo_deploymentlist.h
index f476257..cb3f09e 100644
--- a/osinfo/osinfo_deploymentlist.h
+++ b/osinfo/osinfo_deploymentlist.h
@@ -67,9 +67,13 @@ struct _OsinfoDeploymentListClass
 GType osinfo_deploymentlist_get_type(void);
 
 OsinfoDeploymentList *osinfo_deploymentlist_new(void);
+G_DEPRECATED_FOR(osinfo_list_new_copy)
 OsinfoDeploymentList *osinfo_deploymentlist_new_copy(OsinfoDeploymentList *source);
+G_DEPRECATED_FOR(osinfo_list_new_filtered)
 OsinfoDeploymentList *osinfo_deploymentlist_new_filtered(OsinfoDeploymentList *source, OsinfoFilter *filter);
+G_DEPRECATED_FOR(osinfo_list_new_intersection)
 OsinfoDeploymentList *osinfo_deploymentlist_new_intersection(OsinfoDeploymentList *sourceOne, OsinfoDeploymentList *sourceTwo);
+G_DEPRECATED_FOR(osinfo_list_new_union)
 OsinfoDeploymentList *osinfo_deploymentlist_new_union(OsinfoDeploymentList *sourceOne, OsinfoDeploymentList *sourceTwo);
 
 #endif /* __OSINFO_DEPLOYMENTLIST_H__ */
diff --git a/osinfo/osinfo_devicelinklist.c b/osinfo/osinfo_devicelinklist.c
index cba9c22..89b6ce6 100644
--- a/osinfo/osinfo_devicelinklist.c
+++ b/osinfo/osinfo_devicelinklist.c
@@ -94,6 +94,7 @@ OsinfoDeviceLinkList *osinfo_devicelinklist_new(void)
  * from @source
  *
  * Returns: (transfer full): a copy of the devicelink list
+ * Deprecated: 0.2.2: Use osinfo_list_new_copy() instead.
  */
 OsinfoDeviceLinkList *osinfo_devicelinklist_new_copy(OsinfoDeviceLinkList *source)
 {
@@ -113,6 +114,7 @@ OsinfoDeviceLinkList *osinfo_devicelinklist_new_copy(OsinfoDeviceLinkList *sourc
  * from @source that match @filter
  *
  * Returns: (transfer full): a filtered copy of the devicelink list
+ * Deprecated: 0.2.2: Use osinfo_list_new_filtered() instead.
  */
 OsinfoDeviceLinkList *osinfo_devicelinklist_new_filtered(OsinfoDeviceLinkList *source, OsinfoFilter *filter)
 {
@@ -132,6 +134,7 @@ OsinfoDeviceLinkList *osinfo_devicelinklist_new_filtered(OsinfoDeviceLinkList *s
  * devicelinks that are present in both @sourceOne and @sourceTwo.
  *
  * Returns: (transfer full): an intersection of the two devicelink lists
+ * Deprecated: 0.2.2: Use osinfo_list_new_intersection() instead.
  */
 OsinfoDeviceLinkList *osinfo_devicelinklist_new_intersection(OsinfoDeviceLinkList *sourceOne, OsinfoDeviceLinkList *sourceTwo)
 {
@@ -151,6 +154,7 @@ OsinfoDeviceLinkList *osinfo_devicelinklist_new_intersection(OsinfoDeviceLinkLis
  * devicelinks that are present in either @sourceOne and @sourceTwo.
  *
  * Returns: (transfer full): a union of the two devicelink lists
+ * Deprecated: 0.2.2: Use osinfo_list_new_union() instead.
  */
 OsinfoDeviceLinkList *osinfo_devicelinklist_new_union(OsinfoDeviceLinkList *sourceOne, OsinfoDeviceLinkList *sourceTwo)
 {
diff --git a/osinfo/osinfo_devicelinklist.h b/osinfo/osinfo_devicelinklist.h
index 56812e0..ac878ac 100644
--- a/osinfo/osinfo_devicelinklist.h
+++ b/osinfo/osinfo_devicelinklist.h
@@ -67,9 +67,13 @@ struct _OsinfoDeviceLinkListClass
 GType osinfo_devicelinklist_get_type(void);
 
 OsinfoDeviceLinkList *osinfo_devicelinklist_new(void);
+G_DEPRECATED_FOR(osinfo_list_new_copy)
 OsinfoDeviceLinkList *osinfo_devicelinklist_new_copy(OsinfoDeviceLinkList *source);
+G_DEPRECATED_FOR(osinfo_list_new_filtered)
 OsinfoDeviceLinkList *osinfo_devicelinklist_new_filtered(OsinfoDeviceLinkList *source, OsinfoFilter *filter);
+G_DEPRECATED_FOR(osinfo_list_new_intersection)
 OsinfoDeviceLinkList *osinfo_devicelinklist_new_intersection(OsinfoDeviceLinkList *sourceOne, OsinfoDeviceLinkList *sourceTwo);
+G_DEPRECATED_FOR(osinfo_list_new_union)
 OsinfoDeviceLinkList *osinfo_devicelinklist_new_union(OsinfoDeviceLinkList *sourceOne, OsinfoDeviceLinkList *sourceTwo);
 
 OsinfoDeviceList *osinfo_devicelinklist_get_devices(OsinfoDeviceLinkList *list, OsinfoFilter *filter);
diff --git a/osinfo/osinfo_devicelist.c b/osinfo/osinfo_devicelist.c
index a50ea1f..96ad2fc 100644
--- a/osinfo/osinfo_devicelist.c
+++ b/osinfo/osinfo_devicelist.c
@@ -94,6 +94,7 @@ OsinfoDeviceList *osinfo_devicelist_new(void)
  * from @source
  *
  * Returns: (transfer full): a copy of the device list
+ * Deprecated: 0.2.2: Use osinfo_list_new_copy() instead.
  */
 OsinfoDeviceList *osinfo_devicelist_new_copy(OsinfoDeviceList *source)
 {
@@ -113,6 +114,7 @@ OsinfoDeviceList *osinfo_devicelist_new_copy(OsinfoDeviceList *source)
  * from @source that match @filter
  *
  * Returns: (transfer full): a filtered copy of the device list
+ * Deprecated: 0.2.2: Use osinfo_list_new_filtered() instead.
  */
 OsinfoDeviceList *osinfo_devicelist_new_filtered(OsinfoDeviceList *source, OsinfoFilter *filter)
 {
@@ -132,6 +134,7 @@ OsinfoDeviceList *osinfo_devicelist_new_filtered(OsinfoDeviceList *source, Osinf
  * devices that are present in both @sourceOne and @sourceTwo.
  *
  * Returns: (transfer full): an intersection of the two device lists
+ * Deprecated: 0.2.2: Use osinfo_list_new_intersection() instead.
  */
 OsinfoDeviceList *osinfo_devicelist_new_intersection(OsinfoDeviceList *sourceOne, OsinfoDeviceList *sourceTwo)
 {
@@ -151,6 +154,7 @@ OsinfoDeviceList *osinfo_devicelist_new_intersection(OsinfoDeviceList *sourceOne
  * devices that are present in either @sourceOne and @sourceTwo.
  *
  * Returns: (transfer full): a union of the two device lists
+ * Deprecated: 0.2.2: Use osinfo_list_new_union() instead.
  */
 OsinfoDeviceList *osinfo_devicelist_new_union(OsinfoDeviceList *sourceOne, OsinfoDeviceList *sourceTwo)
 {
diff --git a/osinfo/osinfo_devicelist.h b/osinfo/osinfo_devicelist.h
index c12faa9..489ac93 100644
--- a/osinfo/osinfo_devicelist.h
+++ b/osinfo/osinfo_devicelist.h
@@ -67,9 +67,13 @@ struct _OsinfoDeviceListClass
 GType osinfo_devicelist_get_type(void);
 
 OsinfoDeviceList *osinfo_devicelist_new(void);
+G_DEPRECATED_FOR(osinfo_list_new_copy)
 OsinfoDeviceList *osinfo_devicelist_new_copy(OsinfoDeviceList *source);
+G_DEPRECATED_FOR(osinfo_list_new_filtered)
 OsinfoDeviceList *osinfo_devicelist_new_filtered(OsinfoDeviceList *source, OsinfoFilter *filter);
+G_DEPRECATED_FOR(osinfo_list_new_intersection)
 OsinfoDeviceList *osinfo_devicelist_new_intersection(OsinfoDeviceList *sourceOne, OsinfoDeviceList *sourceTwo);
+G_DEPRECATED_FOR(osinfo_list_new_union)
 OsinfoDeviceList *osinfo_devicelist_new_union(OsinfoDeviceList *sourceOne, OsinfoDeviceList *sourceTwo);
 
 #endif /* __OSINFO_DEVICELIST_H__ */
diff --git a/osinfo/osinfo_install_scriptlist.c b/osinfo/osinfo_install_scriptlist.c
index 308a5d4..99f49dd 100644
--- a/osinfo/osinfo_install_scriptlist.c
+++ b/osinfo/osinfo_install_scriptlist.c
@@ -92,6 +92,7 @@ OsinfoInstallScriptList *osinfo_install_scriptlist_new(void)
  * from @source
  *
  * Returns: (transfer full): a copy of the install_script list
+ * Deprecated: 0.2.2: Use osinfo_list_new_copy() instead.
  */
 OsinfoInstallScriptList *osinfo_install_scriptlist_new_copy(OsinfoInstallScriptList *source)
 {
@@ -110,6 +111,7 @@ OsinfoInstallScriptList *osinfo_install_scriptlist_new_copy(OsinfoInstallScriptL
  * from @source that match @filter
  *
  * Returns: (transfer full): a filtered copy of the install_script list
+ * Deprecated: 0.2.2: Use osinfo_list_new_filtered() instead.
  */
 OsinfoInstallScriptList *osinfo_install_scriptlist_new_filtered(OsinfoInstallScriptList *source,
                                                                 OsinfoFilter *filter)
@@ -130,6 +132,7 @@ OsinfoInstallScriptList *osinfo_install_scriptlist_new_filtered(OsinfoInstallScr
  * install_scripts that are present in both @sourceOne and @sourceTwo.
  *
  * Returns: (transfer full): an intersection of the two install_script lists
+ * Deprecated: 0.2.2: Use osinfo_list_new_intersection() instead.
  */
 OsinfoInstallScriptList *osinfo_install_scriptlist_new_intersection(OsinfoInstallScriptList *sourceOne,
                                                                     OsinfoInstallScriptList *sourceTwo)
@@ -150,6 +153,7 @@ OsinfoInstallScriptList *osinfo_install_scriptlist_new_intersection(OsinfoInstal
  * install_scripts that are present in either @sourceOne and @sourceTwo.
  *
  * Returns: (transfer full): a union of the two install_script lists
+ * Deprecated: 0.2.2: Use osinfo_list_new_union() instead.
  */
 OsinfoInstallScriptList *osinfo_install_scriptlist_new_union(OsinfoInstallScriptList *sourceOne,
                                                              OsinfoInstallScriptList *sourceTwo)
diff --git a/osinfo/osinfo_install_scriptlist.h b/osinfo/osinfo_install_scriptlist.h
index 39544d2..d9a3b06 100644
--- a/osinfo/osinfo_install_scriptlist.h
+++ b/osinfo/osinfo_install_scriptlist.h
@@ -67,9 +67,13 @@ struct _OsinfoInstallScriptListClass
 GType osinfo_install_scriptlist_get_type(void);
 
 OsinfoInstallScriptList *osinfo_install_scriptlist_new(void);
+G_DEPRECATED_FOR(osinfo_list_new_copy)
 OsinfoInstallScriptList *osinfo_install_scriptlist_new_copy(OsinfoInstallScriptList *source);
+G_DEPRECATED_FOR(osinfo_list_new_filtered)
 OsinfoInstallScriptList *osinfo_install_scriptlist_new_filtered(OsinfoInstallScriptList *source, OsinfoFilter *filter);
+G_DEPRECATED_FOR(osinfo_list_new_intersection)
 OsinfoInstallScriptList *osinfo_install_scriptlist_new_intersection(OsinfoInstallScriptList *sourceOne, OsinfoInstallScriptList *sourceTwo);
+G_DEPRECATED_FOR(osinfo_list_new_union)
 OsinfoInstallScriptList *osinfo_install_scriptlist_new_union(OsinfoInstallScriptList *sourceOne, OsinfoInstallScriptList *sourceTwo);
 
 #endif /* __OSINFO_INSTALL_SCRIPTLIST_H__ */
diff --git a/osinfo/osinfo_medialist.c b/osinfo/osinfo_medialist.c
index 4e66755..3894177 100644
--- a/osinfo/osinfo_medialist.c
+++ b/osinfo/osinfo_medialist.c
@@ -92,6 +92,7 @@ OsinfoMediaList *osinfo_medialist_new(void)
  * from @source
  *
  * Returns: (transfer full): a copy of the media list
+ * Deprecated: 0.2.2: Use osinfo_list_new_copy() instead.
  */
 OsinfoMediaList *osinfo_medialist_new_copy(OsinfoMediaList *source)
 {
@@ -110,6 +111,7 @@ OsinfoMediaList *osinfo_medialist_new_copy(OsinfoMediaList *source)
  * from @source that match @filter
  *
  * Returns: (transfer full): a filtered copy of the media list
+ * Deprecated: 0.2.2: Use osinfo_list_new_filtered() instead.
  */
 OsinfoMediaList *osinfo_medialist_new_filtered(OsinfoMediaList *source,
                                                OsinfoFilter *filter)
@@ -130,6 +132,7 @@ OsinfoMediaList *osinfo_medialist_new_filtered(OsinfoMediaList *source,
  * medias that are present in both @sourceOne and @sourceTwo.
  *
  * Returns: (transfer full): an intersection of the two media lists
+ * Deprecated: 0.2.2: Use osinfo_list_new_intersection() instead.
  */
 OsinfoMediaList *osinfo_medialist_new_intersection(OsinfoMediaList *sourceOne,
                                                    OsinfoMediaList *sourceTwo)
@@ -150,6 +153,7 @@ OsinfoMediaList *osinfo_medialist_new_intersection(OsinfoMediaList *sourceOne,
  * medias that are present in either @sourceOne and @sourceTwo.
  *
  * Returns: (transfer full): a union of the two media lists
+ * Deprecated: 0.2.2: Use osinfo_list_new_union() instead.
  */
 OsinfoMediaList *osinfo_medialist_new_union(OsinfoMediaList *sourceOne,
                                             OsinfoMediaList *sourceTwo)
diff --git a/osinfo/osinfo_medialist.h b/osinfo/osinfo_medialist.h
index e5cf145..8814ca8 100644
--- a/osinfo/osinfo_medialist.h
+++ b/osinfo/osinfo_medialist.h
@@ -67,9 +67,13 @@ struct _OsinfoMediaListClass
 GType osinfo_medialist_get_type(void);
 
 OsinfoMediaList *osinfo_medialist_new(void);
+G_DEPRECATED_FOR(osinfo_list_new_copy)
 OsinfoMediaList *osinfo_medialist_new_copy(OsinfoMediaList *source);
+G_DEPRECATED_FOR(osinfo_list_new_filtered)
 OsinfoMediaList *osinfo_medialist_new_filtered(OsinfoMediaList *source, OsinfoFilter *filter);
+G_DEPRECATED_FOR(osinfo_list_new_intersection)
 OsinfoMediaList *osinfo_medialist_new_intersection(OsinfoMediaList *sourceOne, OsinfoMediaList *sourceTwo);
+G_DEPRECATED_FOR(osinfo_list_new_union)
 OsinfoMediaList *osinfo_medialist_new_union(OsinfoMediaList *sourceOne, OsinfoMediaList *sourceTwo);
 
 #endif /* __OSINFO_MEDIALIST_H__ */
diff --git a/osinfo/osinfo_oslist.c b/osinfo/osinfo_oslist.c
index 89b8910..fbb2f30 100644
--- a/osinfo/osinfo_oslist.c
+++ b/osinfo/osinfo_oslist.c
@@ -94,6 +94,7 @@ OsinfoOsList *osinfo_oslist_new(void)
  * from @source
  *
  * Returns: (transfer full): a copy of the os list
+ * Deprecated: 0.2.2: Use osinfo_list_new_copy() instead.
  */
 OsinfoOsList *osinfo_oslist_new_copy(OsinfoOsList *source)
 {
@@ -112,6 +113,7 @@ OsinfoOsList *osinfo_oslist_new_copy(OsinfoOsList *source)
  * from @source that match @filter
  *
  * Returns: (transfer full): a filtered copy of the os list
+ * Deprecated: 0.2.2: Use osinfo_list_new_filtered() instead.
  */
 OsinfoOsList *osinfo_oslist_new_filtered(OsinfoOsList *source, OsinfoFilter *filter)
 {
@@ -131,6 +133,7 @@ OsinfoOsList *osinfo_oslist_new_filtered(OsinfoOsList *source, OsinfoFilter *fil
  * oss that are present in both @sourceOne and @sourceTwo.
  *
  * Returns: (transfer full): an intersection of the two os lists
+ * Deprecated: 0.2.2: Use osinfo_list_new_intersection() instead.
  */
 OsinfoOsList *osinfo_oslist_new_intersection(OsinfoOsList *sourceOne, OsinfoOsList *sourceTwo)
 {
@@ -150,6 +153,7 @@ OsinfoOsList *osinfo_oslist_new_intersection(OsinfoOsList *sourceOne, OsinfoOsLi
  * oss that are present in either @sourceOne and @sourceTwo.
  *
  * Returns: (transfer full): a union of the two os lists
+ * Deprecated: 0.2.2: Use osinfo_list_new_union() instead.
  */
 OsinfoOsList *osinfo_oslist_new_union(OsinfoOsList *sourceOne, OsinfoOsList *sourceTwo)
 {
diff --git a/osinfo/osinfo_oslist.h b/osinfo/osinfo_oslist.h
index 051dce8..19d1721 100644
--- a/osinfo/osinfo_oslist.h
+++ b/osinfo/osinfo_oslist.h
@@ -67,9 +67,13 @@ struct _OsinfoOsListClass
 GType osinfo_oslist_get_type(void);
 
 OsinfoOsList *osinfo_oslist_new(void);
+G_DEPRECATED_FOR(osinfo_list_new_copy)
 OsinfoOsList *osinfo_oslist_new_copy(OsinfoOsList *source);
+G_DEPRECATED_FOR(osinfo_list_new_filtered)
 OsinfoOsList *osinfo_oslist_new_filtered(OsinfoOsList *source, OsinfoFilter *filter);
+G_DEPRECATED_FOR(osinfo_list_new_intersection)
 OsinfoOsList *osinfo_oslist_new_intersection(OsinfoOsList *sourceOne, OsinfoOsList *sourceTwo);
+G_DEPRECATED_FOR(osinfo_list_new_union)
 OsinfoOsList *osinfo_oslist_new_union(OsinfoOsList *sourceOne, OsinfoOsList *sourceTwo);
 
 #endif /* __OSINFO_OSLIST_H__ */
diff --git a/osinfo/osinfo_platformlist.c b/osinfo/osinfo_platformlist.c
index d97e736..ef197e3 100644
--- a/osinfo/osinfo_platformlist.c
+++ b/osinfo/osinfo_platformlist.c
@@ -93,6 +93,7 @@ OsinfoPlatformList *osinfo_platformlist_new(void)
  * from @source
  *
  * Returns: (transfer full): a copy of the platform list
+ * Deprecated: 0.2.2: Use osinfo_list_new_copy() instead.
  */
 OsinfoPlatformList *osinfo_platformlist_new_copy(OsinfoPlatformList *source)
 {
@@ -111,6 +112,7 @@ OsinfoPlatformList *osinfo_platformlist_new_copy(OsinfoPlatformList *source)
  * from @source that match @filter
  *
  * Returns: (transfer full): a filtered copy of the platform list
+ * Deprecated: 0.2.2: Use osinfo_list_new_filtered() instead.
  */
 OsinfoPlatformList *osinfo_platformlist_new_filtered(OsinfoPlatformList *source, OsinfoFilter *filter)
 {
@@ -130,6 +132,7 @@ OsinfoPlatformList *osinfo_platformlist_new_filtered(OsinfoPlatformList *source,
  * platforms that are present in both @sourceOne and @sourceTwo.
  *
  * Returns: (transfer full): an intersection of the two platform lists
+ * Deprecated: 0.2.2: Use osinfo_list_new_intersection() instead.
  */
 OsinfoPlatformList *osinfo_platformlist_new_intersection(OsinfoPlatformList *sourceOne, OsinfoPlatformList *sourceTwo)
 {
@@ -149,6 +152,7 @@ OsinfoPlatformList *osinfo_platformlist_new_intersection(OsinfoPlatformList *sou
  * platforms that are present in either @sourceOne and @sourceTwo.
  *
  * Returns: (transfer full): a union of the two platform lists
+ * Deprecated: 0.2.2: Use osinfo_list_new_union() instead.
  */
 OsinfoPlatformList *osinfo_platformlist_new_union(OsinfoPlatformList *sourceOne, OsinfoPlatformList *sourceTwo)
 {
diff --git a/osinfo/osinfo_platformlist.h b/osinfo/osinfo_platformlist.h
index eb00274..37ee306 100644
--- a/osinfo/osinfo_platformlist.h
+++ b/osinfo/osinfo_platformlist.h
@@ -67,9 +67,13 @@ struct _OsinfoPlatformListClass
 GType osinfo_platformlist_get_type(void);
 
 OsinfoPlatformList *osinfo_platformlist_new(void);
+G_DEPRECATED_FOR(osinfo_list_new_copy)
 OsinfoPlatformList *osinfo_platformlist_new_copy(OsinfoPlatformList *source);
+G_DEPRECATED_FOR(osinfo_list_new_filtered)
 OsinfoPlatformList *osinfo_platformlist_new_filtered(OsinfoPlatformList *source, OsinfoFilter *filter);
+G_DEPRECATED_FOR(osinfo_list_new_intersection)
 OsinfoPlatformList *osinfo_platformlist_new_intersection(OsinfoPlatformList *sourceOne, OsinfoPlatformList *sourceTwo);
+G_DEPRECATED_FOR(osinfo_list_new_union)
 OsinfoPlatformList *osinfo_platformlist_new_union(OsinfoPlatformList *sourceOne, OsinfoPlatformList *sourceTwo);
 
 #endif /* __OSINFO_PLATFORMLIST_H__ */
diff --git a/osinfo/osinfo_productlist.c b/osinfo/osinfo_productlist.c
index 3967da5..adbcb3b 100644
--- a/osinfo/osinfo_productlist.c
+++ b/osinfo/osinfo_productlist.c
@@ -94,6 +94,7 @@ OsinfoProductList *osinfo_productlist_new(void)
  * from @source
  *
  * Returns: (transfer full): a copy of the os list
+ * Deprecated: 0.2.2: Use osinfo_list_new_copy() instead.
  */
 OsinfoProductList *osinfo_productlist_new_copy(OsinfoProductList *source)
 {
@@ -112,6 +113,7 @@ OsinfoProductList *osinfo_productlist_new_copy(OsinfoProductList *source)
  * from @source that match @filter
  *
  * Returns: (transfer full): a filtered copy of the os list
+ * Deprecated: 0.2.2: Use osinfo_list_new_filtered() instead.
  */
 OsinfoProductList *osinfo_productlist_new_filtered(OsinfoProductList *source, OsinfoFilter *filter)
 {
@@ -131,6 +133,7 @@ OsinfoProductList *osinfo_productlist_new_filtered(OsinfoProductList *source, Os
  * oss that are present in both @sourceOne and @sourceTwo.
  *
  * Returns: (transfer full): an intersection of the two os lists
+ * Deprecated: 0.2.2: Use osinfo_list_new_intersection() instead.
  */
 OsinfoProductList *osinfo_productlist_new_intersection(OsinfoProductList *sourceOne, OsinfoProductList *sourceTwo)
 {
@@ -150,6 +153,7 @@ OsinfoProductList *osinfo_productlist_new_intersection(OsinfoProductList *source
  * oss that are present in either @sourceOne and @sourceTwo.
  *
  * Returns: (transfer full): a union of the two os lists
+ * Deprecated: 0.2.2: Use osinfo_list_new_union() instead.
  */
 OsinfoProductList *osinfo_productlist_new_union(OsinfoProductList *sourceOne, OsinfoProductList *sourceTwo)
 {
diff --git a/osinfo/osinfo_productlist.h b/osinfo/osinfo_productlist.h
index 68c8482..33a2a71 100644
--- a/osinfo/osinfo_productlist.h
+++ b/osinfo/osinfo_productlist.h
@@ -67,9 +67,13 @@ struct _OsinfoProductListClass
 GType osinfo_productlist_get_type(void);
 
 OsinfoProductList *osinfo_productlist_new(void);
+G_DEPRECATED_FOR(osinfo_list_new_copy)
 OsinfoProductList *osinfo_productlist_new_copy(OsinfoProductList *source);
+G_DEPRECATED_FOR(osinfo_list_new_filtered)
 OsinfoProductList *osinfo_productlist_new_filtered(OsinfoProductList *source, OsinfoFilter *filter);
+G_DEPRECATED_FOR(osinfo_list_new_intersection)
 OsinfoProductList *osinfo_productlist_new_intersection(OsinfoProductList *sourceOne, OsinfoProductList *sourceTwo);
+G_DEPRECATED_FOR(osinfo_list_new_union)
 OsinfoProductList *osinfo_productlist_new_union(OsinfoProductList *sourceOne, OsinfoProductList *sourceTwo);
 
 #endif /* __OSINFO_PRODUCTLIST_H__ */
diff --git a/osinfo/osinfo_resourceslist.c b/osinfo/osinfo_resourceslist.c
index ae63851..45c54f6 100644
--- a/osinfo/osinfo_resourceslist.c
+++ b/osinfo/osinfo_resourceslist.c
@@ -94,6 +94,7 @@ OsinfoResourcesList *osinfo_resourceslist_new(void)
  * from @source
  *
  * Returns: (transfer full): a copy of the resources list
+ * Deprecated: 0.2.2: Use osinfo_list_new_copy() instead.
  */
 OsinfoResourcesList *osinfo_resourceslist_new_copy(OsinfoResourcesList *source)
 {
@@ -112,6 +113,7 @@ OsinfoResourcesList *osinfo_resourceslist_new_copy(OsinfoResourcesList *source)
  * from @source that match @filter
  *
  * Returns: (transfer full): a filtered copy of the resources list
+ * Deprecated: 0.2.2: Use osinfo_list_new_filtered() instead.
  */
 OsinfoResourcesList *osinfo_resourceslist_new_filtered
                                 (OsinfoResourcesList *source,
@@ -133,6 +135,7 @@ OsinfoResourcesList *osinfo_resourceslist_new_filtered
  * resources instances that are present in both @sourceOne and @sourceTwo.
  *
  * Returns: (transfer full): an intersection of the two resources lists
+ * Deprecated: 0.2.2: Use osinfo_list_new_intersection() instead.
  */
 OsinfoResourcesList *osinfo_resourceslist_new_intersection
                                 (OsinfoResourcesList *sourceOne,
@@ -154,6 +157,7 @@ OsinfoResourcesList *osinfo_resourceslist_new_intersection
  * resources instances that are present in either @sourceOne and @sourceTwo.
  *
  * Returns: (transfer full): a union of the two resources lists
+ * Deprecated: 0.2.2: Use osinfo_list_new_union() instead.
  */
 OsinfoResourcesList *osinfo_resourceslist_new_union
                                 (OsinfoResourcesList *sourceOne,
diff --git a/osinfo/osinfo_resourceslist.h b/osinfo/osinfo_resourceslist.h
index 5844a4e..29e9c1b 100644
--- a/osinfo/osinfo_resourceslist.h
+++ b/osinfo/osinfo_resourceslist.h
@@ -75,13 +75,17 @@ struct _OsinfoResourcesListClass
 GType osinfo_resourceslist_get_type(void);
 
 OsinfoResourcesList *osinfo_resourceslist_new(void);
+G_DEPRECATED_FOR(osinfo_list_new_copy)
 OsinfoResourcesList *osinfo_resourceslist_new_copy(OsinfoResourcesList *source);
+G_DEPRECATED_FOR(osinfo_list_new_filtered)
 OsinfoResourcesList *osinfo_resourceslist_new_filtered
                                 (OsinfoResourcesList *source,
                                  OsinfoFilter *filter);
+G_DEPRECATED_FOR(osinfo_list_new_intersection)
 OsinfoResourcesList *osinfo_resourceslist_new_intersection
                                 (OsinfoResourcesList *sourceOne,
                                  OsinfoResourcesList *sourceTwo);
+G_DEPRECATED_FOR(osinfo_list_new_intersection)
 OsinfoResourcesList *osinfo_resourceslist_new_union
                                 (OsinfoResourcesList *sourceOne,
                                  OsinfoResourcesList *sourceTwo);
diff --git a/osinfo/osinfo_treelist.c b/osinfo/osinfo_treelist.c
index 48ab039..9b1e47e 100644
--- a/osinfo/osinfo_treelist.c
+++ b/osinfo/osinfo_treelist.c
@@ -92,6 +92,7 @@ OsinfoTreeList *osinfo_treelist_new(void)
  * from @source
  *
  * Returns: (transfer full): a copy of the tree list
+ * Deprecated: 0.2.2: Use osinfo_list_new_copy() instead.
  */
 OsinfoTreeList *osinfo_treelist_new_copy(OsinfoTreeList *source)
 {
@@ -110,6 +111,7 @@ OsinfoTreeList *osinfo_treelist_new_copy(OsinfoTreeList *source)
  * from @source that match @filter
  *
  * Returns: (transfer full): a filtered copy of the tree list
+ * Deprecated: 0.2.2: Use osinfo_list_new_filtered() instead.
  */
 OsinfoTreeList *osinfo_treelist_new_filtered(OsinfoTreeList *source,
                                                OsinfoFilter *filter)
@@ -130,6 +132,7 @@ OsinfoTreeList *osinfo_treelist_new_filtered(OsinfoTreeList *source,
  * trees that are present in both @sourceOne and @sourceTwo.
  *
  * Returns: (transfer full): an intersection of the two tree lists
+ * Deprecated: 0.2.2: Use osinfo_list_new_intersection() instead.
  */
 OsinfoTreeList *osinfo_treelist_new_intersection(OsinfoTreeList *sourceOne,
                                                    OsinfoTreeList *sourceTwo)
@@ -150,6 +153,7 @@ OsinfoTreeList *osinfo_treelist_new_intersection(OsinfoTreeList *sourceOne,
  * trees that are present in either @sourceOne and @sourceTwo.
  *
  * Returns: (transfer full): a union of the two tree lists
+ * Deprecated: 0.2.2: Use osinfo_list_new_union() instead.
  */
 OsinfoTreeList *osinfo_treelist_new_union(OsinfoTreeList *sourceOne,
                                           OsinfoTreeList *sourceTwo)
diff --git a/osinfo/osinfo_treelist.h b/osinfo/osinfo_treelist.h
index 840b17b..950dfdd 100644
--- a/osinfo/osinfo_treelist.h
+++ b/osinfo/osinfo_treelist.h
@@ -67,9 +67,13 @@ struct _OsinfoTreeListClass
 GType osinfo_treelist_get_type(void);
 
 OsinfoTreeList *osinfo_treelist_new(void);
+G_DEPRECATED_FOR(osinfo_list_new_copy)
 OsinfoTreeList *osinfo_treelist_new_copy(OsinfoTreeList *source);
+G_DEPRECATED_FOR(osinfo_list_new_filtered)
 OsinfoTreeList *osinfo_treelist_new_filtered(OsinfoTreeList *source, OsinfoFilter *filter);
+G_DEPRECATED_FOR(osinfo_list_new_intersection)
 OsinfoTreeList *osinfo_treelist_new_intersection(OsinfoTreeList *sourceOne, OsinfoTreeList *sourceTwo);
+G_DEPRECATED_FOR(osinfo_list_new_union)
 OsinfoTreeList *osinfo_treelist_new_union(OsinfoTreeList *sourceOne, OsinfoTreeList *sourceTwo);
 
 #endif /* __OSINFO_TREELIST_H__ */
-- 
1.8.0.1


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