[evolution-data-server] ESource: Minor code cleanup.



commit 0ec9b63e34287863f2a607a5f2b0db3e47c2ba58
Author: Matthew Barnes <mbarnes redhat com>
Date:   Fri Jun 22 16:10:06 2012 -0400

    ESource: Minor code cleanup.

 libedataserver/e-source.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/libedataserver/e-source.c b/libedataserver/e-source.c
index b624bff..5efbe76 100644
--- a/libedataserver/e-source.c
+++ b/libedataserver/e-source.c
@@ -267,8 +267,11 @@ source_set_key_file_from_property (GObject *object,
 
 	/* Store UIN64 in hexa */
 	} else if (G_VALUE_HOLDS_UINT64 (pvalue)) {
-		gchar *v_str = g_strdup_printf ("%016" G_GINT64_MODIFIER "X", g_value_get_uint64 (pvalue));
+		gchar *v_str;
 
+		v_str = g_strdup_printf (
+			"%016" G_GINT64_MODIFIER "X",
+			g_value_get_uint64 (pvalue));
 		g_key_file_set_string (key_file, group_name, key, v_str);
 		g_free (v_str);
 



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