[gnome-keyring] g_string_append_c_inline is used implicitly



commit c218fdd64a59406c9993c07a50b566b68caf9165
Author: Pablo Castellano <pablog src gnome org>
Date:   Tue Jul 27 18:12:00 2010 +0200

    g_string_append_c_inline is used implicitly

 daemon/dbus/gkd-secret-util.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/daemon/dbus/gkd-secret-util.c b/daemon/dbus/gkd-secret-util.c
index 9ccc14f..7a1adf9 100644
--- a/daemon/dbus/gkd-secret-util.c
+++ b/daemon/dbus/gkd-secret-util.c
@@ -56,7 +56,7 @@ decode_object_identifier (const gchar* enc, gssize length)
 			length -= 2;
 		}
 
-		g_string_append_c_inline (result, ch);
+		g_string_append_c (result, ch);
 	}
 
 	return g_string_free (result, FALSE);
@@ -137,7 +137,7 @@ gkd_secret_util_build_path (const gchar *base, gconstpointer identifier, gssize
 		if (G_LIKELY ((ch >= 'A' && ch <= 'Z') ||
 		              (ch >= 'a' && ch <= 'z') ||
 		              (ch >= '0' && ch <= '9'))) {
-			g_string_append_c_inline (result, ch);
+			g_string_append_c (result, ch);
 
 		/* Special characters are encoded with a _ */
 		} else {



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