[nautilus-actions] Fix the built of the profile keys



commit 3940285c426d0dfc020123b148039cf22522407c
Author: Pierre Wieser <pwieser trychlos org>
Date:   Tue Mar 9 22:04:27 2010 +0100

    Fix the built of the profile keys

 ChangeLog                  |    3 +++
 src/io-gconf/nagp-writer.c |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2fffa2c..05f4de5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2009-03-09 Pierre Wieser <pwieser trychlos org>
 
+	* src/io-gconf/nagp-writer.c (nagp_writer_write_data):
+	Replace gconf_concat_dir_and_key by g_strdup_printf.
+
 	* src/core/na-ifactory-provider.c (na_ifactory_provider_write_item):
 	Add a debug trace when entering in the function.
 
diff --git a/src/io-gconf/nagp-writer.c b/src/io-gconf/nagp-writer.c
index 80a5305..d7710bb 100644
--- a/src/io-gconf/nagp-writer.c
+++ b/src/io-gconf/nagp-writer.c
@@ -237,7 +237,7 @@ nagp_writer_write_data( const NAIFactoryProvider *provider, void *writer_data,
 		NAObjectItem *parent = NA_OBJECT_ITEM( na_object_get_parent( object ));
 		gchar *parent_id = na_object_get_id( parent );
 		gchar *id = na_object_get_id( object );
-		this_id = gconf_concat_dir_and_key( parent_id, id );
+		this_id = g_strdup_printf( "%s/%s", parent_id, id );
 		g_free( id );
 		g_free( parent_id );
 



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