diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/file-manager/fm-ditem-page.c | 2 | ||||
-rw-r--r-- | src/nautilus-autorun-software.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/file-manager/fm-ditem-page.c b/src/file-manager/fm-ditem-page.c index fdb2e04f8..0af048778 100644 --- a/src/file-manager/fm-ditem-page.c +++ b/src/file-manager/fm-ditem-page.c @@ -191,7 +191,7 @@ save_entry (GtkEntry *entry, GnomeDesktopItem *item) error = NULL; if (!gnome_desktop_item_save (item, NULL, TRUE, &error)) { - g_warning (error->message); + g_warning ("%s", error->message); g_error_free (error); } } diff --git a/src/nautilus-autorun-software.c b/src/nautilus-autorun-software.c index 63616e3a9..0c08d82a9 100644 --- a/src/nautilus-autorun-software.c +++ b/src/nautilus-autorun-software.c @@ -166,7 +166,7 @@ out: GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, _("<big><b>Error autorunning software</b></big>")); - gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), error_string); + gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s", error_string); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); g_free (error_string); |