From fd751fe31cec336a725f9408d1b9d71822b68b82 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 8 Jan 2014 12:29:26 +0100 Subject: [PATCH 05/12] log-store-{pidgin,xml}: remove 'basedir' property It was never used as a property anyway. --- telepathy-logger/log-store-pidgin.c | 20 -------------------- telepathy-logger/log-store-xml.c | 19 ------------------- 2 files changed, 39 deletions(-) diff --git a/telepathy-logger/log-store-pidgin.c b/telepathy-logger/log-store-pidgin.c index 0d12eb2..927c3fd 100644 --- a/telepathy-logger/log-store-pidgin.c +++ b/telepathy-logger/log-store-pidgin.c @@ -55,7 +55,6 @@ struct _TplLogStorePidginPriv enum { PROP_0, PROP_READABLE, - PROP_BASEDIR, PROP_TESTMODE, }; @@ -89,9 +88,6 @@ tpl_log_store_pidgin_get_property (GObject *object, case PROP_READABLE: g_value_set_boolean (value, TRUE); break; - case PROP_BASEDIR: - g_value_set_string (value, priv->basedir); - break; case PROP_TESTMODE: g_value_set_boolean (value, priv->test_mode); break; @@ -112,9 +108,6 @@ tpl_log_store_pidgin_set_property (GObject *object, switch (param_id) { - case PROP_BASEDIR: - log_store_pidgin_set_basedir (self, g_value_get_string (value)); - break; case PROP_TESTMODE: self->priv->test_mode = g_value_get_boolean (value); break; @@ -150,19 +143,6 @@ tpl_log_store_pidgin_class_init (TplLogStorePidginClass *klass) g_object_class_override_property (object_class, PROP_READABLE, "readable"); - /** - * TplLogStorePidgin:basedir: - * - * The log store's basedir. - */ - param_spec = g_param_spec_string ("basedir", - "Basedir", - "The directory where the LogStore will look for data", - NULL, G_PARAM_READABLE | G_PARAM_WRITABLE | - G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS); - g_object_class_install_property (object_class, PROP_BASEDIR, param_spec); - - param_spec = g_param_spec_boolean ("testmode", "TestMode", "Whether the logstore is in testmode, for testsuite use only", diff --git a/telepathy-logger/log-store-xml.c b/telepathy-logger/log-store-xml.c index 268189a..2207466 100644 --- a/telepathy-logger/log-store-xml.c +++ b/telepathy-logger/log-store-xml.c @@ -87,7 +87,6 @@ struct _TplLogStoreXmlPriv enum { PROP_0, PROP_READABLE, - PROP_BASEDIR, PROP_TESTMODE }; @@ -155,9 +154,6 @@ tpl_log_store_xml_get_property (GObject *object, case PROP_READABLE: g_value_set_boolean (value, TRUE); break; - case PROP_BASEDIR: - g_value_set_string (value, priv->basedir); - break; case PROP_TESTMODE: g_value_set_boolean (value, priv->test_mode); break; @@ -178,9 +174,6 @@ tpl_log_store_xml_set_property (GObject *object, switch (param_id) { - case PROP_BASEDIR: - log_store_xml_set_basedir (self, g_value_get_string (value)); - break; case PROP_TESTMODE: self->priv->test_mode = g_value_get_boolean (value); break; @@ -204,18 +197,6 @@ _tpl_log_store_xml_class_init (TplLogStoreXmlClass *klass) g_object_class_override_property (object_class, PROP_READABLE, "readable"); - /** - * TplLogStoreXml:basedir: - * - * The log store's basedir. - */ - param_spec = g_param_spec_string ("basedir", - "Basedir", - "The TplLogStore implementation's name", - NULL, G_PARAM_READABLE | G_PARAM_WRITABLE | - G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS); - g_object_class_install_property (object_class, PROP_BASEDIR, param_spec); - param_spec = g_param_spec_boolean ("testmode", "TestMode", "Whether the logstore is in testmode, for testsuite use only", -- 1.8.4.2