aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--src/summaryview.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 7504f279..c20361a4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-01-24
+
+ * src/summaryview.c: fixed warnings about non-string literal format.
+
2011-01-21
* src/addressbook.c: fixed double underline in menu label
diff --git a/src/summaryview.c b/src/summaryview.c
index 8429839d..478f287f 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -1523,7 +1523,7 @@ static void summary_select_prev_flagged(SummaryView *summaryview,
if (!found) {
if (notice)
- alertpanel_notice(notice);
+ alertpanel_notice("%s", notice);
} else {
gboolean visible;
visible = messageview_is_visible(summaryview->messageview);
@@ -1569,7 +1569,7 @@ static void summary_select_next_flagged(SummaryView *summaryview,
if (!found) {
if (notice)
- alertpanel_notice(notice);
+ alertpanel_notice("%s", notice);
} else {
gboolean visible;
visible = messageview_is_visible(summaryview->messageview);
@@ -2694,7 +2694,7 @@ gint summary_write_cache(SummaryView *summaryview)
if (item->cache_dirty) {
buf = g_strdup_printf(_("Writing summary cache (%s)..."),
item->path);
- debug_print(buf);
+ debug_print("%s", buf);
STATUSBAR_PUSH(summaryview->mainwin, buf);
gdk_flush();
g_free(buf);