gpe-filemanager (0.31-2) string-format

Summary

 main.c |    2 ++
 1 file changed, 2 insertions(+)

    
download this patch

Patch contents

Description: Add string format to gtk dialog calls.
 gpe-filemanager (0.31-2) unstable; urgency=low
 .
   * Add string literals to gtk_dialog calls.
     (Closes: #643398)
Author: Neil Williams <codehelp@debian.org>
Bug-Debian: http://bugs.debian.org/643398

--- gpe-filemanager-0.31.orig/main.c
+++ gpe-filemanager-0.31/main.c
@@ -341,6 +341,7 @@ show_message(GtkMessageType type, char*
 					 GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
 					 type,
 					 GTK_BUTTONS_OK,
+					 "%s",
 					 message);
 	gtk_dialog_run (GTK_DIALOG(dialog));
 	gtk_widget_destroy(dialog);
@@ -673,6 +674,7 @@ show_file_properties ()
 	                                    | GTK_DIALOG_MODAL,
 	                                  GTK_MESSAGE_INFO,
 	                                  GTK_BUTTONS_CLOSE,
+	                                  "%s",
 	                                  current_popup_file->vfs->name);
   table = gtk_table_new(4,2,FALSE);
   gtk_table_set_col_spacings(GTK_TABLE(table),gpe_get_boxspacing());