* modest-conf.[ch]:
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Tue, 12 Dec 2006 15:51:40 +0000 (15:51 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Tue, 12 Dec 2006 15:51:40 +0000 (15:51 +0000)
  - remove unused functions

pmo-trunk-r546

src/modest-conf.c
src/modest-conf.h

index 0c239ad..2a4d986 100644 (file)
@@ -352,7 +352,7 @@ gboolean
 modest_conf_remove_key (ModestConf* self, const gchar* key, GError **err)
 {
        ModestConfPrivate *priv;
-               
+       
        g_return_val_if_fail (self,FALSE);
        g_return_val_if_fail (key, FALSE);
        
index 40cf511..55ee3ab 100644 (file)
@@ -136,38 +136,6 @@ gboolean     modest_conf_get_bool    (ModestConf* self, const gchar* key, GError
 
 
 /**
- * modest_conf_get_string_or_default:
- * @self: a ModestConf instance
- * @key: the key of the value to retrieve
- * @err: a GError ptr, or NULL to ignore.
- * 
- * get a string from the configuration system; if the value is not set,
- * or some error occurs, return @defaultval (copied)
- *
- * Returns: a newly allocated string with the value for the key,
- * or the @defaultval in case of any error
- */
-gchar*       modest_conf_get_string_or_default  (ModestConf* self, const gchar* key,
-                                                const gchar *defaultval);
-
-
-/**
- * modest_conf_get_int_or_default:
- * @self: a ModestConf instance
- * @key: the key of the value to retrieve
- * @err: a GError ptr, or NULL to ignore.
- * 
- * get an integer from the configuration system; if the value is not set,
- * or some error occurs, return @defaultval.
- * 
- * Returns: an integer with the value for the key, or the @defaultval in case
- * of any error
- */
-gint          modest_conf_get_int_or_default     (ModestConf* self, const gchar* key,
-                                                 int defaultval);
-
-
-/**
  * modest_conf_set_string:
  * @self: a ModestConf instance
  * @key: the key of the value to set
@@ -281,8 +249,6 @@ gchar* modest_conf_key_escape (ModestConf *self, const gchar* str);
 gchar* modest_conf_key_unescape (ModestConf *self, const gchar* str);
 
 
-GSList* modest_conf_get_list (ModestConf* self, const gchar* key, ModestConfValueType list_type, GError **err);
-
 G_END_DECLS
 
 #endif /* __MODEST_CONF_H__ */