[goffice] Conf: remove functions always returning NULL



commit 8cad6254716ac91c53144c79bbd7998f47fa55c7
Author: Morten Welinder <terra gnome org>
Date:   Thu Nov 10 15:41:39 2011 -0500

    Conf: remove functions always returning NULL

 ChangeLog                       |    3 ++-
 goffice/app/go-conf-gsettings.c |   12 ------------
 goffice/app/go-conf-keyfile.c   |   12 ------------
 goffice/app/go-conf-win32.c     |   12 ------------
 goffice/app/go-conf.h           |    3 ---
 5 files changed, 2 insertions(+), 40 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2aeac65..bf227b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,8 @@
 2011-11-10  Morten Welinder  <terra gnome org>
 
 	* goffice/app/go-conf.h (go_conf_node_get_key_type)
-	(go_conf_get_value_as_str, go_conf_set_value_from_str): Delete.
+	(go_conf_get_value_as_str, go_conf_set_value_from_str)
+	(go_conf_get_long_desc, go_conf_get_short_desc): Delete.
 
 2011-11-09  Jean Brefort  <jean brefort normalesup org>
 
diff --git a/goffice/app/go-conf-gsettings.c b/goffice/app/go-conf-gsettings.c
index 53b3f2b..ea3ddb5 100644
--- a/goffice/app/go-conf-gsettings.c
+++ b/goffice/app/go-conf-gsettings.c
@@ -343,18 +343,6 @@ go_conf_load_str_list (GOConfNode *node, gchar const *key)
 	return list;
 }
 
-gchar *
-go_conf_get_short_desc (GOConfNode *node, gchar const *key)
-{
-	return NULL;
-}
-
-gchar *
-go_conf_get_long_desc  (GOConfNode *node, gchar const *key)
-{
-	return NULL;
-}
-
 gboolean
 go_conf_get_bool (GOConfNode *node, gchar const *key)
 {
diff --git a/goffice/app/go-conf-keyfile.c b/goffice/app/go-conf-keyfile.c
index 24885b2..3bf74d1 100644
--- a/goffice/app/go-conf-keyfile.c
+++ b/goffice/app/go-conf-keyfile.c
@@ -418,18 +418,6 @@ go_conf_load_str_list (GOConfNode *node, gchar const *key)
 	return go_conf_get_str_list (node, key);
 }
 
-char *
-go_conf_get_short_desc (GOConfNode *node, gchar const *key)
-{
-	return NULL;
-}
-
-gchar *
-go_conf_get_long_desc  (GOConfNode *node, gchar const *key)
-{
-	return NULL;
-}
-
 void
 go_conf_sync (GOConfNode *node)
 {
diff --git a/goffice/app/go-conf-win32.c b/goffice/app/go-conf-win32.c
index eca5bbc..3b15ba7 100644
--- a/goffice/app/go-conf-win32.c
+++ b/goffice/app/go-conf-win32.c
@@ -509,18 +509,6 @@ go_conf_load_str_list (GOConfNode *node, gchar const *key)
 	return list;
 }
 
-gchar *
-go_conf_get_short_desc (GOConfNode *node, gchar const *key)
-{
-	return NULL;
-}
-
-gchar *
-go_conf_get_long_desc  (GOConfNode *node, gchar const *key)
-{
-	return NULL;
-}
-
 void
 go_conf_sync (GOConfNode *node)
 {
diff --git a/goffice/app/go-conf.h b/goffice/app/go-conf.h
index 2884a71..7ea9ff7 100644
--- a/goffice/app/go-conf.h
+++ b/goffice/app/go-conf.h
@@ -14,9 +14,6 @@ void _go_conf_shutdown (void);
 GOConfNode * go_conf_get_node       (GOConfNode *parent, gchar const *key);
 void	 go_conf_free_node	    (GOConfNode *node);
 
-gchar	*go_conf_get_short_desc     (GOConfNode *node, gchar const *key);
-gchar	*go_conf_get_long_desc      (GOConfNode *node, gchar const *key);
-
 gboolean go_conf_get_bool	(GOConfNode *node, gchar const *key);
 gint	 go_conf_get_int	(GOConfNode *node, gchar const *key);
 gdouble	 go_conf_get_double	(GOConfNode *node, gchar const *key);



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