network-manager-applet r919 - in trunk: . src/gconf-helpers



Author: dcbw
Date: Wed Oct  1 21:31:50 2008
New Revision: 919
URL: http://svn.gnome.org/viewvc/network-manager-applet?rev=919&view=rev

Log:
2008-10-01  Dan Williams  <dcbw redhat com>

	* src/gconf-helpers/gconf-helpers.c
	  src/gconf-helpers/gconf-helpers.h
		- (nm_gconf_get_valuehash_helper, nm_gconf_set_valuehash_helper): no
			longer used; disable for now



Modified:
   trunk/ChangeLog
   trunk/src/gconf-helpers/gconf-helpers.c
   trunk/src/gconf-helpers/gconf-helpers.h

Modified: trunk/src/gconf-helpers/gconf-helpers.c
==============================================================================
--- trunk/src/gconf-helpers/gconf-helpers.c	(original)
+++ trunk/src/gconf-helpers/gconf-helpers.c	Wed Oct  1 21:31:50 2008
@@ -331,6 +331,7 @@
 	return success;
 }
 
+#if UNUSED
 static void
 property_value_destroy (gpointer data)
 {
@@ -412,6 +413,7 @@
 	g_slist_free (gconf_entries);
 	return TRUE;
 }
+#endif
 
 gboolean
 nm_gconf_get_stringhash_helper (GConfClient *client,
@@ -715,6 +717,7 @@
 	char *path;
 } WritePropertiesInfo;
 
+#if UNUSED
 static void
 write_properties_valuehash (gpointer key, gpointer val, gpointer user_data)
 {
@@ -765,6 +768,7 @@
 	g_free (gc_key);
 	return TRUE;
 }
+#endif
 
 static void
 write_properties_stringhash (gpointer key, gpointer value, gpointer user_data)
@@ -988,6 +992,7 @@
 			g_slist_foreach (sa_val, (GFunc) g_free, NULL);
 			g_slist_free (sa_val);
 		}
+#if UNUSED
 	} else if (type == DBUS_TYPE_G_MAP_OF_VARIANT) {
 		GHashTable *vh_val = NULL;
 
@@ -995,6 +1000,7 @@
 			g_object_set (setting, key, vh_val, NULL);
 			g_hash_table_destroy (vh_val);
 		}
+#endif
 	} else if (type == DBUS_TYPE_G_MAP_OF_STRING) {
 		GHashTable *sh_val = NULL;
 
@@ -1308,10 +1314,12 @@
 		nm_gconf_set_stringlist_helper (info->client, info->dir,
 								  key, setting->name,
 								  (GSList *) g_value_get_boxed (value));
+#if UNUSED
 	} else if (type == DBUS_TYPE_G_MAP_OF_VARIANT) {
 		nm_gconf_set_valuehash_helper (info->client, info->dir,
 								 setting->name,
 								 (GHashTable *) g_value_get_boxed (value));
+#endif
 	} else if (type == DBUS_TYPE_G_MAP_OF_STRING) {
 		nm_gconf_set_stringhash_helper (info->client, info->dir,
 		                                setting->name,

Modified: trunk/src/gconf-helpers/gconf-helpers.h
==============================================================================
--- trunk/src/gconf-helpers/gconf-helpers.h	(original)
+++ trunk/src/gconf-helpers/gconf-helpers.h	Wed Oct  1 21:31:50 2008
@@ -101,11 +101,13 @@
 				GArray **value);
 
 
+#if UNUSED
 gboolean
 nm_gconf_get_valuehash_helper (GConfClient *client,
 			       const char *path,
 			       const char *network,
 			       GHashTable **value);
+#endif
 
 gboolean
 nm_gconf_get_stringhash_helper (GConfClient *client,
@@ -172,11 +174,13 @@
 				const char *network,
 				GArray *value);
 
+#if UNUSED
 gboolean
 nm_gconf_set_valuehash_helper (GConfClient *client,
 			       const char *path,
 			       const char *network,
 			       GHashTable *value);
+#endif
 
 gboolean
 nm_gconf_set_stringhash_helper (GConfClient *client,



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