[tracker] libtracker-data: Do not register properties with GObject
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-data: Do not register properties with GObject
- Date: Thu, 18 Mar 2010 11:36:17 +0000 (UTC)
commit 85cba9eda4b1969e8a48266940fd94dac772c9d6
Author: Jürg Billeter <j bitron ch>
Date: Thu Mar 18 12:32:56 2010 +0100
libtracker-data: Do not register properties with GObject
GObject-registered properties in Class, Namespace, Ontology, and
Property were never used.
src/libtracker-data/tracker-class.c | 123 -------------
src/libtracker-data/tracker-namespace.c | 99 ----------
src/libtracker-data/tracker-ontology.c | 101 -----------
src/libtracker-data/tracker-property.c | 301 -------------------------------
4 files changed, 0 insertions(+), 624 deletions(-)
---
diff --git a/src/libtracker-data/tracker-class.c b/src/libtracker-data/tracker-class.c
index 1ecbf58..aa9d945 100644
--- a/src/libtracker-data/tracker-class.c
+++ b/src/libtracker-data/tracker-class.c
@@ -44,23 +44,6 @@ struct _TrackerClassPriv {
};
static void class_finalize (GObject *object);
-static void class_get_property (GObject *object,
- guint param_id,
- GValue *value,
- GParamSpec *pspec);
-static void class_set_property (GObject *object,
- guint param_id,
- const GValue *value,
- GParamSpec *pspec);
-
-enum {
- PROP_0,
- PROP_URI,
- PROP_NAME,
- PROP_COUNT,
- PROP_ID,
- PROP_IS_NEW
-};
G_DEFINE_TYPE (TrackerClass, tracker_class, G_TYPE_OBJECT);
@@ -70,48 +53,6 @@ tracker_class_class_init (TrackerClassClass *klass)
GObjectClass *object_class = G_OBJECT_CLASS (klass);
object_class->finalize = class_finalize;
- object_class->get_property = class_get_property;
- object_class->set_property = class_set_property;
-
- g_object_class_install_property (object_class,
- PROP_URI,
- g_param_spec_string ("uri",
- "uri",
- "URI",
- NULL,
- G_PARAM_READWRITE));
- g_object_class_install_property (object_class,
- PROP_NAME,
- g_param_spec_string ("name",
- "name",
- "Service name",
- NULL,
- G_PARAM_READABLE));
- g_object_class_install_property (object_class,
- PROP_NAME,
- g_param_spec_int ("count",
- "count",
- "Count",
- 0,
- G_MAXINT,
- 0,
- G_PARAM_READWRITE));
- g_object_class_install_property (object_class,
- PROP_ID,
- g_param_spec_int ("id",
- "id",
- "Id",
- 0,
- G_MAXINT,
- 0,
- G_PARAM_READABLE | G_PARAM_WRITABLE));
- g_object_class_install_property (object_class,
- PROP_IS_NEW,
- g_param_spec_boolean ("is-new",
- "is-new",
- "Is new",
- FALSE,
- G_PARAM_READWRITE));
g_type_class_add_private (object_class, sizeof (TrackerClassPriv));
}
@@ -142,67 +83,6 @@ class_finalize (GObject *object)
(G_OBJECT_CLASS (tracker_class_parent_class)->finalize) (object);
}
-static void
-class_get_property (GObject *object,
- guint param_id,
- GValue *value,
- GParamSpec *pspec)
-{
- TrackerClassPriv *priv;
-
- priv = GET_PRIV (object);
-
- switch (param_id) {
- case PROP_URI:
- g_value_set_string (value, priv->uri);
- break;
- case PROP_NAME:
- g_value_set_string (value, priv->name);
- break;
- case PROP_COUNT:
- g_value_set_int (value, priv->count);
- break;
- case PROP_ID:
- g_value_set_int (value, priv->id);
- break;
- case PROP_IS_NEW:
- g_value_set_boolean (value, priv->is_new);
- break;
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec);
- break;
- };
-}
-
-static void
-class_set_property (GObject *object,
- guint param_id,
- const GValue *value,
- GParamSpec *pspec)
-{
- switch (param_id) {
- case PROP_URI:
- tracker_class_set_uri (TRACKER_CLASS (object),
- g_value_get_string (value));
- break;
- case PROP_COUNT:
- tracker_class_set_count (TRACKER_CLASS (object),
- g_value_get_int (value));
- break;
- case PROP_ID:
- tracker_class_set_id (TRACKER_CLASS (object),
- g_value_get_int (value));
- break;
- case PROP_IS_NEW:
- tracker_class_set_is_new (TRACKER_CLASS (object),
- g_value_get_boolean (value));
- break;
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec);
- break;
- };
-}
-
TrackerClass *
tracker_class_new (void)
{
@@ -324,8 +204,6 @@ tracker_class_set_uri (TrackerClass *service,
g_free (namespace_uri);
}
}
-
- g_object_notify (G_OBJECT (service), "uri");
}
void
@@ -400,5 +278,4 @@ tracker_class_set_is_new (TrackerClass *service,
priv = GET_PRIV (service);
priv->is_new = value;
- g_object_notify (G_OBJECT (service), "is-new");
}
diff --git a/src/libtracker-data/tracker-namespace.c b/src/libtracker-data/tracker-namespace.c
index e189702..80816f8 100644
--- a/src/libtracker-data/tracker-namespace.c
+++ b/src/libtracker-data/tracker-namespace.c
@@ -37,21 +37,6 @@ struct _TrackerNamespacePriv {
};
static void namespace_finalize (GObject *object);
-static void namespace_get_property (GObject *object,
- guint param_id,
- GValue *value,
- GParamSpec *pspec);
-static void namespace_set_property (GObject *object,
- guint param_id,
- const GValue *value,
- GParamSpec *pspec);
-
-enum {
- PROP_0,
- PROP_URI,
- PROP_PREFIX,
- PROP_IS_NEW
-};
G_DEFINE_TYPE (TrackerNamespace, tracker_namespace, G_TYPE_OBJECT);
@@ -61,30 +46,6 @@ tracker_namespace_class_init (TrackerNamespaceClass *klass)
GObjectClass *object_class = G_OBJECT_CLASS (klass);
object_class->finalize = namespace_finalize;
- object_class->get_property = namespace_get_property;
- object_class->set_property = namespace_set_property;
-
- g_object_class_install_property (object_class,
- PROP_URI,
- g_param_spec_string ("uri",
- "uri",
- "URI",
- NULL,
- G_PARAM_READWRITE));
- g_object_class_install_property (object_class,
- PROP_PREFIX,
- g_param_spec_string ("prefix",
- "prefix",
- "Prefix",
- NULL,
- G_PARAM_READWRITE));
- g_object_class_install_property (object_class,
- PROP_IS_NEW,
- g_param_spec_boolean ("is-new",
- "is-new",
- "Set to TRUE when a new class or property is to be added to the database ontology",
- FALSE,
- G_PARAM_READWRITE));
g_type_class_add_private (object_class, sizeof (TrackerNamespacePriv));
}
@@ -107,61 +68,6 @@ namespace_finalize (GObject *object)
(G_OBJECT_CLASS (tracker_namespace_parent_class)->finalize) (object);
}
-static void
-namespace_get_property (GObject *object,
- guint param_id,
- GValue *value,
- GParamSpec *pspec)
-{
- TrackerNamespacePriv *priv;
-
- priv = GET_PRIV (object);
-
- switch (param_id) {
- case PROP_URI:
- g_value_set_string (value, priv->uri);
- break;
- case PROP_PREFIX:
- g_value_set_string (value, priv->prefix);
- break;
- case PROP_IS_NEW:
- g_value_set_boolean (value, priv->is_new);
- break;
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec);
- break;
- };
-}
-
-static void
-namespace_set_property (GObject *object,
- guint param_id,
- const GValue *value,
- GParamSpec *pspec)
-{
- TrackerNamespacePriv *priv;
-
- priv = GET_PRIV (object);
-
- switch (param_id) {
- case PROP_URI:
- tracker_namespace_set_uri (TRACKER_NAMESPACE (object),
- g_value_get_string (value));
- break;
- case PROP_PREFIX:
- tracker_namespace_set_prefix (TRACKER_NAMESPACE (object),
- g_value_get_string (value));
- break;
- case PROP_IS_NEW:
- tracker_namespace_set_is_new (TRACKER_NAMESPACE (object),
- g_value_get_boolean (value));
- break;
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec);
- break;
- };
-}
-
TrackerNamespace *
tracker_namespace_new (void)
{
@@ -225,8 +131,6 @@ tracker_namespace_set_uri (TrackerNamespace *namespace,
} else {
priv->uri = NULL;
}
-
- g_object_notify (G_OBJECT (namespace), "uri");
}
void
@@ -246,8 +150,6 @@ tracker_namespace_set_prefix (TrackerNamespace *namespace,
} else {
priv->prefix = NULL;
}
-
- g_object_notify (G_OBJECT (namespace), "prefix");
}
void
@@ -261,5 +163,4 @@ tracker_namespace_set_is_new (TrackerNamespace *namespace,
priv = GET_PRIV (namespace);
priv->is_new = value;
- g_object_notify (G_OBJECT (namespace), "is-new");
}
diff --git a/src/libtracker-data/tracker-ontology.c b/src/libtracker-data/tracker-ontology.c
index f3f1c07..c8bd32d 100644
--- a/src/libtracker-data/tracker-ontology.c
+++ b/src/libtracker-data/tracker-ontology.c
@@ -39,21 +39,6 @@ struct _TrackerOntologyPrivate {
};
static void ontology_finalize (GObject *object);
-static void ontology_get_property (GObject *object,
- guint param_id,
- GValue *value,
- GParamSpec *pspec);
-static void ontology_set_property (GObject *object,
- guint param_id,
- const GValue *value,
- GParamSpec *pspec);
-
-enum {
- PROP_0,
- PROP_URI,
- PROP_LAST_MODIFIED,
- PROP_IS_NEW
-};
G_DEFINE_TYPE (TrackerOntology, tracker_ontology, G_TYPE_OBJECT);
@@ -63,32 +48,6 @@ tracker_ontology_class_init (TrackerOntologyClass *klass)
GObjectClass *object_class = G_OBJECT_CLASS (klass);
object_class->finalize = ontology_finalize;
- object_class->get_property = ontology_get_property;
- object_class->set_property = ontology_set_property;
-
- g_object_class_install_property (object_class,
- PROP_URI,
- g_param_spec_string ("uri",
- "uri",
- "URI",
- NULL,
- G_PARAM_READWRITE));
- g_object_class_install_property (object_class,
- PROP_LAST_MODIFIED,
- g_param_spec_int64 ("last-modified",
- "last-modified",
- "Last modified",
- G_MININT64,
- G_MAXINT64,
- 0,
- G_PARAM_READWRITE));
- g_object_class_install_property (object_class,
- PROP_IS_NEW,
- g_param_spec_boolean ("is-new",
- "is-new",
- "Set to TRUE when a new class or property is to be added to the database ontology",
- FALSE,
- G_PARAM_READWRITE));
g_type_class_add_private (object_class, sizeof (TrackerOntologyPrivate));
}
@@ -110,61 +69,6 @@ ontology_finalize (GObject *object)
(G_OBJECT_CLASS (tracker_ontology_parent_class)->finalize) (object);
}
-static void
-ontology_get_property (GObject *object,
- guint param_id,
- GValue *value,
- GParamSpec *pspec)
-{
- TrackerOntologyPrivate *priv;
-
- priv = GET_PRIV (object);
-
- switch (param_id) {
- case PROP_URI:
- g_value_set_string (value, priv->uri);
- break;
- case PROP_LAST_MODIFIED:
- g_value_set_int64 (value, priv->last_modified);
- break;
- case PROP_IS_NEW:
- g_value_set_boolean (value, priv->is_new);
- break;
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec);
- break;
- };
-}
-
-static void
-ontology_set_property (GObject *object,
- guint param_id,
- const GValue *value,
- GParamSpec *pspec)
-{
- TrackerOntologyPrivate *priv;
-
- priv = GET_PRIV (object);
-
- switch (param_id) {
- case PROP_URI:
- tracker_ontology_set_uri (TRACKER_ONTOLOGY (object),
- g_value_get_string (value));
- break;
- case PROP_LAST_MODIFIED:
- tracker_ontology_set_last_modified (TRACKER_ONTOLOGY (object),
- g_value_get_int64 (value));
- break;
- case PROP_IS_NEW:
- tracker_ontology_set_is_new (TRACKER_ONTOLOGY (object),
- g_value_get_boolean (value));
- break;
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec);
- break;
- };
-}
-
TrackerOntology *
tracker_ontology_new (void)
{
@@ -211,8 +115,6 @@ tracker_ontology_set_last_modified (TrackerOntology *ontology,
priv = GET_PRIV (ontology);
priv->last_modified = value;
-
- g_object_notify (G_OBJECT (ontology), "last-modified");
}
@@ -246,8 +148,6 @@ tracker_ontology_set_uri (TrackerOntology *ontology,
} else {
priv->uri = NULL;
}
-
- g_object_notify (G_OBJECT (ontology), "uri");
}
void
@@ -261,5 +161,4 @@ tracker_ontology_set_is_new (TrackerOntology *ontology,
priv = GET_PRIV (ontology);
priv->is_new = value;
- g_object_notify (G_OBJECT (ontology), "is-new");
}
diff --git a/src/libtracker-data/tracker-property.c b/src/libtracker-data/tracker-property.c
index 8fa2242..8b6552e 100644
--- a/src/libtracker-data/tracker-property.c
+++ b/src/libtracker-data/tracker-property.c
@@ -64,34 +64,6 @@ struct _TrackerPropertyPriv {
};
static void property_finalize (GObject *object);
-static void property_get_property (GObject *object,
- guint param_id,
- GValue *value,
- GParamSpec *pspec);
-static void property_set_property (GObject *object,
- guint param_id,
- const GValue *value,
- GParamSpec *pspec);
-
-enum {
- PROP_0,
- PROP_URI,
- PROP_NAME,
- PROP_TABLE_NAME,
- PROP_DATA_TYPE,
- PROP_DOMAIN,
- PROP_RANGE,
- PROP_WEIGHT,
- PROP_INDEXED,
- PROP_FULLTEXT_INDEXED,
- PROP_FULLTEXT_NO_LIMIT,
- PROP_EMBEDDED,
- PROP_MULTIPLE_VALUES,
- PROP_TRANSIENT,
- PROP_IS_INVERSE_FUNCTIONAL_PROPERTY,
- PROP_ID,
- PROP_IS_NEW
-};
GType
tracker_property_type_get_type (void)
@@ -159,127 +131,6 @@ tracker_property_class_init (TrackerPropertyClass *klass)
GObjectClass *object_class = G_OBJECT_CLASS (klass);
object_class->finalize = property_finalize;
- object_class->get_property = property_get_property;
- object_class->set_property = property_set_property;
-
- g_object_class_install_property (object_class,
- PROP_URI,
- g_param_spec_string ("uri",
- "uri",
- "URI",
- NULL,
- G_PARAM_READWRITE));
- g_object_class_install_property (object_class,
- PROP_NAME,
- g_param_spec_string ("name",
- "name",
- "Field name",
- NULL,
- G_PARAM_READABLE));
- g_object_class_install_property (object_class,
- PROP_TABLE_NAME,
- g_param_spec_string ("table-name",
- "table-name",
- "Table name",
- NULL,
- G_PARAM_READABLE));
- g_object_class_install_property (object_class,
- PROP_DATA_TYPE,
- g_param_spec_enum ("data-type",
- "data-type",
- "Field data type",
- tracker_property_type_get_type (),
- TRACKER_PROPERTY_TYPE_STRING,
- G_PARAM_READWRITE));
- g_object_class_install_property (object_class,
- PROP_DOMAIN,
- g_param_spec_object ("domain",
- "domain",
- "Domain of this property",
- TRACKER_TYPE_CLASS,
- G_PARAM_READWRITE));
- g_object_class_install_property (object_class,
- PROP_RANGE,
- g_param_spec_object ("range",
- "range",
- "Range of this property",
- TRACKER_TYPE_CLASS,
- G_PARAM_READWRITE));
- g_object_class_install_property (object_class,
- PROP_WEIGHT,
- g_param_spec_int ("weight",
- "weight",
- "Boost to the score",
- 0,
- G_MAXINT,
- 1,
- G_PARAM_READWRITE));
- g_object_class_install_property (object_class,
- PROP_ID,
- g_param_spec_int ("id",
- "id",
- "Id",
- 0,
- G_MAXINT,
- 0,
- G_PARAM_READWRITE));
- g_object_class_install_property (object_class,
- PROP_INDEXED,
- g_param_spec_boolean ("indexed",
- "indexed",
- "Indexed",
- TRUE,
- G_PARAM_READWRITE));
- g_object_class_install_property (object_class,
- PROP_FULLTEXT_INDEXED,
- g_param_spec_boolean ("fulltext-indexed",
- "fulltext-indexed",
- "Full-text indexed",
- TRUE,
- G_PARAM_READWRITE));
- g_object_class_install_property (object_class,
- PROP_FULLTEXT_NO_LIMIT,
- g_param_spec_boolean ("fulltext-no-limit",
- "fulltext-no-limit",
- "Full-text indexing without word length limits",
- TRUE,
- G_PARAM_READWRITE));
- g_object_class_install_property (object_class,
- PROP_EMBEDDED,
- g_param_spec_boolean ("embedded",
- "embedded",
- "Embedded",
- TRUE,
- G_PARAM_READWRITE));
- g_object_class_install_property (object_class,
- PROP_MULTIPLE_VALUES,
- g_param_spec_boolean ("multiple-values",
- "multiple-values",
- "Multiple values",
- TRUE,
- G_PARAM_READWRITE));
- g_object_class_install_property (object_class,
- PROP_TRANSIENT,
- g_param_spec_boolean ("transient",
- "transient",
- "Transient",
- FALSE,
- G_PARAM_READWRITE));
- g_object_class_install_property (object_class,
- PROP_IS_INVERSE_FUNCTIONAL_PROPERTY,
- g_param_spec_boolean ("is-inverse-functional-property",
- "is-inverse-functional-property",
- "Is inverse functional property",
- FALSE,
- G_PARAM_READWRITE));
- g_object_class_install_property (object_class,
- PROP_IS_NEW,
- g_param_spec_boolean ("is-new",
- "is-new",
- "Set to TRUE when a new class or property is to be added to the database ontology",
- FALSE,
- G_PARAM_READWRITE));
-
g_type_class_add_private (object_class, sizeof (TrackerPropertyPriv));
}
@@ -323,140 +174,6 @@ property_finalize (GObject *object)
(G_OBJECT_CLASS (tracker_property_parent_class)->finalize) (object);
}
-static void
-property_get_property (GObject *object,
- guint param_id,
- GValue *value,
- GParamSpec *pspec)
-{
- TrackerPropertyPriv *priv;
-
- priv = GET_PRIV (object);
-
- switch (param_id) {
- case PROP_URI:
- g_value_set_string (value, priv->uri);
- break;
- case PROP_NAME:
- g_value_set_string (value, priv->name);
- break;
- case PROP_TABLE_NAME:
- g_value_set_string (value, tracker_property_get_table_name ((TrackerProperty *) object));
- break;
- case PROP_DATA_TYPE:
- g_value_set_enum (value, priv->data_type);
- break;
- case PROP_DOMAIN:
- g_value_set_object (value, priv->domain);
- break;
- case PROP_RANGE:
- g_value_set_object (value, priv->range);
- break;
- case PROP_WEIGHT:
- g_value_set_int (value, priv->weight);
- break;
- case PROP_ID:
- g_value_set_int (value, priv->id);
- break;
- case PROP_INDEXED:
- g_value_set_boolean (value, priv->indexed);
- break;
- case PROP_FULLTEXT_INDEXED:
- g_value_set_boolean (value, priv->fulltext_indexed);
- break;
- case PROP_FULLTEXT_NO_LIMIT:
- g_value_set_boolean (value, priv->fulltext_no_limit);
- break;
- case PROP_IS_NEW:
- g_value_set_boolean (value, priv->is_new);
- break;
- case PROP_EMBEDDED:
- g_value_set_boolean (value, priv->embedded);
- break;
- case PROP_MULTIPLE_VALUES:
- g_value_set_boolean (value, priv->multiple_values);
- break;
- case PROP_TRANSIENT:
- g_value_set_boolean (value, priv->transient);
- break;
- case PROP_IS_INVERSE_FUNCTIONAL_PROPERTY:
- g_value_set_boolean (value, priv->is_inverse_functional_property);
- break;
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec);
- break;
- };
-}
-
-static void
-property_set_property (GObject *object,
- guint param_id,
- const GValue *value,
- GParamSpec *pspec)
-{
- switch (param_id) {
- case PROP_URI:
- tracker_property_set_uri (TRACKER_PROPERTY (object),
- g_value_get_string (value));
- break;
- case PROP_DATA_TYPE:
- tracker_property_set_data_type (TRACKER_PROPERTY (object),
- g_value_get_enum (value));
- break;
- case PROP_DOMAIN:
- tracker_property_set_domain (TRACKER_PROPERTY (object),
- g_value_get_object (value));
- break;
- case PROP_RANGE:
- tracker_property_set_range (TRACKER_PROPERTY (object),
- g_value_get_object (value));
- break;
- case PROP_WEIGHT:
- tracker_property_set_weight (TRACKER_PROPERTY (object),
- g_value_get_int (value));
- break;
- case PROP_ID:
- tracker_property_set_id (TRACKER_PROPERTY (object),
- g_value_get_int (value));
- break;
- case PROP_INDEXED:
- tracker_property_set_indexed (TRACKER_PROPERTY (object),
- g_value_get_boolean (value));
- break;
- case PROP_IS_NEW:
- tracker_property_set_is_new (TRACKER_PROPERTY (object),
- g_value_get_boolean (value));
- break;
- case PROP_FULLTEXT_INDEXED:
- tracker_property_set_fulltext_indexed (TRACKER_PROPERTY (object),
- g_value_get_boolean (value));
- break;
- case PROP_FULLTEXT_NO_LIMIT:
- tracker_property_set_fulltext_no_limit (TRACKER_PROPERTY (object),
- g_value_get_boolean (value));
- break;
- case PROP_EMBEDDED:
- tracker_property_set_embedded (TRACKER_PROPERTY (object),
- g_value_get_boolean (value));
- break;
- case PROP_MULTIPLE_VALUES:
- tracker_property_set_multiple_values (TRACKER_PROPERTY (object),
- g_value_get_boolean (value));
- break;
- case PROP_TRANSIENT:
- tracker_property_set_transient (TRACKER_PROPERTY (object),
- g_value_get_boolean (value));
- break;
- case PROP_IS_INVERSE_FUNCTIONAL_PROPERTY:
- tracker_property_set_is_inverse_functional_property (TRACKER_PROPERTY (object),
- g_value_get_boolean (value));
- break;
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec);
- break;
- };
-}
-
static gboolean
field_int_validate (TrackerProperty *field,
const gchar *property,
@@ -752,8 +469,6 @@ tracker_property_set_uri (TrackerProperty *field,
g_free (namespace_uri);
}
}
-
- g_object_notify (G_OBJECT (field), "uri");
}
void
@@ -768,8 +483,6 @@ tracker_property_set_transient (TrackerProperty *field,
priv->transient = value;
priv->multiple_values = TRUE;
-
- g_object_notify (G_OBJECT (field), "transient");
}
void
@@ -783,7 +496,6 @@ tracker_property_set_data_type (TrackerProperty *field,
priv = GET_PRIV (field);
priv->data_type = value;
- g_object_notify (G_OBJECT (field), "data-type");
}
void
@@ -804,8 +516,6 @@ tracker_property_set_domain (TrackerProperty *field,
if (value) {
priv->domain = g_object_ref (value);
}
-
- g_object_notify (G_OBJECT (field), "domain");
}
void
@@ -842,8 +552,6 @@ tracker_property_set_range (TrackerProperty *property,
} else {
priv->data_type = TRACKER_PROPERTY_TYPE_RESOURCE;
}
-
- g_object_notify (G_OBJECT (property), "range");
}
void
@@ -860,7 +568,6 @@ tracker_property_set_weight (TrackerProperty *field,
priv = GET_PRIV (field);
priv->weight = value;
- g_object_notify (G_OBJECT (field), "weight");
}
@@ -887,7 +594,6 @@ tracker_property_set_indexed (TrackerProperty *field,
priv = GET_PRIV (field);
priv->indexed = value;
- g_object_notify (G_OBJECT (field), "indexed");
}
void
@@ -901,7 +607,6 @@ tracker_property_set_is_new (TrackerProperty *field,
priv = GET_PRIV (field);
priv->is_new = value;
- g_object_notify (G_OBJECT (field), "is-new");
}
void
@@ -915,7 +620,6 @@ tracker_property_set_fulltext_indexed (TrackerProperty *field,
priv = GET_PRIV (field);
priv->fulltext_indexed = value;
- g_object_notify (G_OBJECT (field), "fulltext-indexed");
}
void
@@ -929,7 +633,6 @@ tracker_property_set_fulltext_no_limit (TrackerProperty *field,
priv = GET_PRIV (field);
priv->fulltext_no_limit = value;
- g_object_notify (G_OBJECT (field), "fulltext-no-limit");
}
void
@@ -943,7 +646,6 @@ tracker_property_set_embedded (TrackerProperty *field,
priv = GET_PRIV (field);
priv->embedded = value;
- g_object_notify (G_OBJECT (field), "embedded");
}
void
@@ -961,8 +663,6 @@ tracker_property_set_multiple_values (TrackerProperty *field,
} else {
priv->multiple_values = value;
}
-
- g_object_notify (G_OBJECT (field), "multiple-values");
}
void
@@ -976,7 +676,6 @@ tracker_property_set_is_inverse_functional_property (TrackerProperty *property,
priv = GET_PRIV (property);
priv->is_inverse_functional_property = value;
- g_object_notify (G_OBJECT (property), "is-inverse-functional-property");
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]