[tracker] libtracker-data: Remove unused set_super_ functions
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-data: Remove unused set_super_ functions
- Date: Thu, 18 Mar 2010 12:39:52 +0000 (UTC)
commit e73be4e6ca64af80e1abed24846e73a098eae9aa
Author: Jürg Billeter <j bitron ch>
Date: Thu Mar 18 13:33:24 2010 +0100
libtracker-data: Remove unused set_super_ functions
src/libtracker-data/tracker-class.c | 19 -------------------
src/libtracker-data/tracker-class.h | 2 --
src/libtracker-data/tracker-property.c | 19 -------------------
src/libtracker-data/tracker-property.h | 2 --
4 files changed, 0 insertions(+), 42 deletions(-)
---
diff --git a/src/libtracker-data/tracker-class.c b/src/libtracker-data/tracker-class.c
index aa9d945..53eb3c7 100644
--- a/src/libtracker-data/tracker-class.c
+++ b/src/libtracker-data/tracker-class.c
@@ -235,25 +235,6 @@ tracker_class_set_id (TrackerClass *service,
void
-tracker_class_set_super_classes (TrackerClass *service,
- TrackerClass **value)
-{
- TrackerClassPriv *priv;
- TrackerClass **super_class;
-
- g_return_if_fail (TRACKER_IS_CLASS (service));
-
- priv = GET_PRIV (service);
-
- g_array_free (priv->super_classes, TRUE);
-
- priv->super_classes = g_array_new (TRUE, TRUE, sizeof (TrackerClass *));
- for (super_class = value; *super_class; super_class++) {
- g_array_append_val (priv->super_classes, *super_class);
- }
-}
-
-void
tracker_class_add_super_class (TrackerClass *service,
TrackerClass *value)
{
diff --git a/src/libtracker-data/tracker-class.h b/src/libtracker-data/tracker-class.h
index 1d13571..1f1a058 100644
--- a/src/libtracker-data/tracker-class.h
+++ b/src/libtracker-data/tracker-class.h
@@ -60,8 +60,6 @@ void tracker_class_set_uri (TrackerClass *service,
const gchar *value);
void tracker_class_set_count (TrackerClass *service,
gint value);
-void tracker_class_set_super_classes (TrackerClass *self,
- TrackerClass **super_classes);
void tracker_class_add_super_class (TrackerClass *self,
TrackerClass *value);
void tracker_class_set_id (TrackerClass *service,
diff --git a/src/libtracker-data/tracker-property.c b/src/libtracker-data/tracker-property.c
index 8b6552e..82ddb93 100644
--- a/src/libtracker-data/tracker-property.c
+++ b/src/libtracker-data/tracker-property.c
@@ -679,25 +679,6 @@ tracker_property_set_is_inverse_functional_property (TrackerProperty *property,
}
void
-tracker_property_set_super_properties (TrackerProperty *property,
- TrackerProperty **value)
-{
- TrackerPropertyPriv *priv;
- TrackerProperty **super_property;
-
- g_return_if_fail (TRACKER_IS_PROPERTY (property));
-
- priv = GET_PRIV (property);
-
- g_array_free (priv->super_properties, TRUE);
-
- priv->super_properties = g_array_new (TRUE, TRUE, sizeof (TrackerProperty *));
- for (super_property = value; *super_property; super_property++) {
- g_array_append_val (priv->super_properties, *super_property);
- }
-}
-
-void
tracker_property_add_super_property (TrackerProperty *property,
TrackerProperty *value)
{
diff --git a/src/libtracker-data/tracker-property.h b/src/libtracker-data/tracker-property.h
index b8aa27f..42a4bb0 100644
--- a/src/libtracker-data/tracker-property.h
+++ b/src/libtracker-data/tracker-property.h
@@ -120,8 +120,6 @@ void tracker_property_set_is_new (TrackerProperty
void tracker_property_set_is_inverse_functional_property
(TrackerProperty *property,
gboolean value);
-void tracker_property_set_super_properties (TrackerProperty *property,
- TrackerProperty **super_properties);
void tracker_property_add_super_property (TrackerProperty *property,
TrackerProperty *value);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]