[libgnome-keyring] g_string_append_c_inline is used implicitly



commit ddf8c4c3b053ba941b26af9607f06718ad289b1c
Author: Pablo Castellano <pablog src gnome org>
Date:   Sun Jul 18 17:22:35 2010 +0200

    g_string_append_c_inline is used implicitly

 library/gkr-misc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/library/gkr-misc.c b/library/gkr-misc.c
index 30575e9..5e9f9d7 100644
--- a/library/gkr-misc.c
+++ b/library/gkr-misc.c
@@ -56,7 +56,7 @@ encode_object_identifier (GString *string, const gchar* name, gssize length)
 		if (G_LIKELY ((ch >= 'A' && ch <= 'Z') ||
 		              (ch >= 'a' && ch <= 'z') ||
 		              (ch >= '0' && ch <= '9'))) {
-			g_string_append_c_inline (string, ch);
+			g_string_append_c (string, ch);
 
 		/* Special characters are encoded with a _ */
 		} else {
@@ -119,7 +119,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);



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