[seahorse] Fix build warnings for variable arguments
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seahorse] Fix build warnings for variable arguments
- Date: Thu, 22 Dec 2011 09:45:18 +0000 (UTC)
commit 63505dcee13d087b01d05bf08f60e3f84bba3982
Author: Stef Walter <stefw collabora co uk>
Date: Thu Dec 22 10:44:53 2011 +0100
Fix build warnings for variable arguments
gkr/seahorse-gkr-item-deleter.c | 2 +-
pgp/seahorse-gpgme-key-deleter.c | 2 +-
pgp/seahorse-gpgme-secret-deleter.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gkr/seahorse-gkr-item-deleter.c b/gkr/seahorse-gkr-item-deleter.c
index 441a58f..4bb9ed6 100644
--- a/gkr/seahorse-gkr-item-deleter.c
+++ b/gkr/seahorse-gkr-item-deleter.c
@@ -89,7 +89,7 @@ seahorse_gkr_item_deleter_create_confirm (SeahorseDeleter *deleter,
}
- dialog = seahorse_delete_dialog_new (parent, prompt);
+ dialog = seahorse_delete_dialog_new (parent, "%s", prompt);
g_free (prompt);
return dialog;
diff --git a/pgp/seahorse-gpgme-key-deleter.c b/pgp/seahorse-gpgme-key-deleter.c
index ea4cd13..e8fb497 100644
--- a/pgp/seahorse-gpgme-key-deleter.c
+++ b/pgp/seahorse-gpgme-key-deleter.c
@@ -84,7 +84,7 @@ seahorse_gpgme_key_deleter_create_confirm (SeahorseDeleter *deleter,
num);
}
- dialog = seahorse_delete_dialog_new (parent, prompt);
+ dialog = seahorse_delete_dialog_new (parent, "%s", prompt);
g_free (prompt);
return dialog;
diff --git a/pgp/seahorse-gpgme-secret-deleter.c b/pgp/seahorse-gpgme-secret-deleter.c
index 3a2bcfa..4b2a4ea 100644
--- a/pgp/seahorse-gpgme-secret-deleter.c
+++ b/pgp/seahorse-gpgme-secret-deleter.c
@@ -77,7 +77,7 @@ seahorse_gpgme_secret_deleter_create_confirm (SeahorseDeleter *deleter,
prompt = g_strdup_printf (_("Are you sure you want to permanently delete %s?"),
seahorse_object_get_label (SEAHORSE_OBJECT (self->key)));
- dialog = seahorse_delete_dialog_new (parent, prompt);
+ dialog = seahorse_delete_dialog_new (parent, "%s", prompt);
seahorse_delete_dialog_set_check_label (SEAHORSE_DELETE_DIALOG (dialog), _("I understand that this secret key will be permanently deleted."));
seahorse_delete_dialog_set_check_require (SEAHORSE_DELETE_DIALOG (dialog), TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]