aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/save-calendar
diff options
context:
space:
mode:
authorTobias Mueller <tobiasmue@svn.gnome.org>2007-12-10 07:04:53 +0800
committerTobias Mueller <tobiasmue@src.gnome.org>2007-12-10 07:04:53 +0800
commit4cbd83f8a9bd6a612a6514d66e993bd052aa7e88 (patch)
treeef8a5e633953d98fc1c1f525ffd2f6ebe9e77005 /plugins/save-calendar
parentdbdeeca21b2062bc6a43102bbc88679e5566d219 (diff)
downloadgsoc2013-evolution-4cbd83f8a9bd6a612a6514d66e993bd052aa7e88.tar
gsoc2013-evolution-4cbd83f8a9bd6a612a6514d66e993bd052aa7e88.tar.gz
gsoc2013-evolution-4cbd83f8a9bd6a612a6514d66e993bd052aa7e88.tar.bz2
gsoc2013-evolution-4cbd83f8a9bd6a612a6514d66e993bd052aa7e88.tar.lz
gsoc2013-evolution-4cbd83f8a9bd6a612a6514d66e993bd052aa7e88.tar.xz
gsoc2013-evolution-4cbd83f8a9bd6a612a6514d66e993bd052aa7e88.tar.zst
gsoc2013-evolution-4cbd83f8a9bd6a612a6514d66e993bd052aa7e88.zip
** Fixes bug 474651
2007-12-10 Tobias Mueller <tobiasmue@svn.gnome.org> ** Fixes bug 474651 * addressbook/gui/contact-editor/eab-editor.c: * plugins/save-calendar/ical-format.c: * plugins/save-calendar/csv-format.c: * plugins/save-calendar/rdf-format.c: * plugins/ipod-sync/ical-format.c: * plugins/ipod-sync/ipod-sync.c: * plugins/ipod-sync/evolution-ipod-sync.c: * calendar/gui/dialogs/changed-comp.c: * calendar/gui/dialogs/copy-source-dialog.c: * calendar/gui/dialogs/delete-error.c: Use format strings in gtk_message_dialog_new svn path=/trunk/; revision=34680
Diffstat (limited to 'plugins/save-calendar')
-rw-r--r--plugins/save-calendar/csv-format.c2
-rw-r--r--plugins/save-calendar/ical-format.c2
-rw-r--r--plugins/save-calendar/rdf-format.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/save-calendar/csv-format.c b/plugins/save-calendar/csv-format.c
index 8deaf05282..d4b46058a0 100644
--- a/plugins/save-calendar/csv-format.c
+++ b/plugins/save-calendar/csv-format.c
@@ -65,7 +65,7 @@ display_error_message (GtkWidget *parent, GError *error)
GtkWidget *dialog;
dialog = gtk_message_dialog_new (GTK_WINDOW (parent), 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
- error->message);
+ "%s", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
}
diff --git a/plugins/save-calendar/ical-format.c b/plugins/save-calendar/ical-format.c
index ce57d00576..7c35dbc589 100644
--- a/plugins/save-calendar/ical-format.c
+++ b/plugins/save-calendar/ical-format.c
@@ -48,7 +48,7 @@ display_error_message (GtkWidget *parent, const char *message)
{
GtkWidget *dialog;
- dialog = gtk_message_dialog_new (GTK_WINDOW (parent), 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, message);
+ dialog = gtk_message_dialog_new (GTK_WINDOW (parent), 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
}
diff --git a/plugins/save-calendar/rdf-format.c b/plugins/save-calendar/rdf-format.c
index 33cded34bd..768028b811 100644
--- a/plugins/save-calendar/rdf-format.c
+++ b/plugins/save-calendar/rdf-format.c
@@ -91,7 +91,7 @@ display_error_message (GtkWidget *parent, GError *error)
GtkWidget *dialog;
dialog = gtk_message_dialog_new (GTK_WINDOW (parent), 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
- error->message);
+ "%s", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
}