[evolution-data-server] e_source_dup_secret_label: Fix compiler warning about printf format



commit cdb8eb854ccba9099be79e775e2a3dd7ff83f32c
Author: Milan Crha <mcrha redhat com>
Date:   Tue Feb 24 09:58:28 2015 +0100

    e_source_dup_secret_label: Fix compiler warning about printf format

 libedataserver/e-source.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libedataserver/e-source.c b/libedataserver/e-source.c
index 9dc76f8..70bb567 100644
--- a/libedataserver/e-source.c
+++ b/libedataserver/e-source.c
@@ -3532,9 +3532,9 @@ e_source_dup_secret_label (ESource *source)
        if (type && backend_name)
                g_string_append_printf (secret_label, "Evolution Data Source \"%s\" (%s - %s) ", 
display_name, type, backend_name);
        else if (type)
-               g_string_append_printf (secret_label, "Evolution Data Source \"%s\" (%s)", display_name, 
type, display_name);
+               g_string_append_printf (secret_label, "Evolution Data Source \"%s\" (%s)", display_name, 
type);
        else if (backend_name)
-               g_string_append_printf (secret_label, "Evolution Data Source \"%s\" (%s)", display_name, 
backend_name, display_name);
+               g_string_append_printf (secret_label, "Evolution Data Source \"%s\" (%s)", display_name, 
backend_name);
        else
                g_string_append_printf (secret_label, "Evolution Data Source \"%s\"", display_name);
 


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