cabbb8a1ca
This switches distfiles source as the original does ńot have the new version. It also adds a bunch of patches, including fixes for ppc and so on, from Debian.
25 lines
790 B
Diff
25 lines
790 B
Diff
Description: Fix multiple "format not a string literal" warnings
|
|
Author: Andrey Rahmatullin <wrar@wrar.name>
|
|
Forwarded: no
|
|
Last-Update: 2012-06-15
|
|
|
|
--- a/gui/GtkGui.c
|
|
+++ b/gui/GtkGui.c
|
|
@@ -1114,7 +1114,7 @@ void SysErrorMessage(gchar *primary, gch
|
|
primary,
|
|
NULL);
|
|
gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(message_dialog),
|
|
- "s", secondary);
|
|
+ "%s", secondary);
|
|
|
|
gtk_dialog_run(GTK_DIALOG(message_dialog));
|
|
gtk_widget_destroy(message_dialog);
|
|
@@ -1133,7 +1133,7 @@ void SysInfoMessage(gchar *primary, gcha
|
|
primary,
|
|
NULL);
|
|
gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(message_dialog),
|
|
- "s", secondary);
|
|
+ "%s", secondary);
|
|
|
|
gtk_dialog_run(GTK_DIALOG(message_dialog));
|
|
gtk_widget_destroy(message_dialog);
|