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

[Libosinfo] [libosinfo PATCH v2 1/7] tree: Remove useless properties



A bunch of media properties were mistakenly added as tree properties as
part of commit 0202b4db. Although this is clearly a copy & paste error,
it has never been noticed so far.

Signed-off-by: Fabiano Fidêncio <fidencio redhat com>
---
 osinfo/osinfo_tree.c | 52 --------------------------------------------
 1 file changed, 52 deletions(-)

diff --git a/osinfo/osinfo_tree.c b/osinfo/osinfo_tree.c
index 0f14276..3a88da0 100644
--- a/osinfo/osinfo_tree.c
+++ b/osinfo/osinfo_tree.c
@@ -312,58 +312,6 @@ osinfo_tree_class_init(OsinfoTreeClass *klass)
                                 G_PARAM_STATIC_STRINGS);
     g_object_class_install_property(g_klass, PROP_URL, pspec);
 
-    /**
-     * OsinfoTree:volume-id:
-     *
-     * Expected volume ID (regular expression) for ISO9660 image/device.
-     */
-    pspec = g_param_spec_string("volume-id",
-                                "VolumeID",
-                                _("The expected ISO9660 volume ID"),
-                                NULL /* default value */,
-                                G_PARAM_READWRITE |
-                                G_PARAM_STATIC_STRINGS);
-    g_object_class_install_property(g_klass, PROP_TREEINFO_FAMILY, pspec);
-
-    /**
-     * OsinfoTree:publisher-id:
-     *
-     * Expected publisher ID (regular expression) for ISO9660 image/device.
-     */
-    pspec = g_param_spec_string("publisher-id",
-                                "PublisherID",
-                                _("The expected ISO9660 publisher ID"),
-                                NULL /* default value */,
-                                G_PARAM_READWRITE |
-                                G_PARAM_STATIC_STRINGS);
-    g_object_class_install_property(g_klass, PROP_TREEINFO_VARIANT, pspec);
-
-    /**
-     * OsinfoTree:application-id:
-     *
-     * Expected application ID (regular expression) for ISO9660 image/device.
-     */
-    pspec = g_param_spec_string("application-id",
-                                "ApplicationID",
-                                _("The expected ISO9660 application ID"),
-                                NULL /* default value */,
-                                G_PARAM_READWRITE |
-                                G_PARAM_STATIC_STRINGS);
-    g_object_class_install_property(g_klass, PROP_TREEINFO_VERSION, pspec);
-
-    /**
-     * OsinfoTree:system-id:
-     *
-     * Expected system ID (regular expression) for ISO9660 image/device.
-     */
-    pspec = g_param_spec_string("system-id",
-                                "SystemID",
-                                _("The expected ISO9660 system ID"),
-                                NULL /* default value */,
-                                G_PARAM_READWRITE |
-                                G_PARAM_STATIC_STRINGS);
-    g_object_class_install_property(g_klass, PROP_TREEINFO_ARCH, pspec);
-
     /**
      * OsinfoTree:kernel-path:
      *
-- 
2.21.0


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