summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-extra/yelp/files/yelp-2.22.1-format-string.patch')
-rw-r--r--gnome-extra/yelp/files/yelp-2.22.1-format-string.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/gnome-extra/yelp/files/yelp-2.22.1-format-string.patch b/gnome-extra/yelp/files/yelp-2.22.1-format-string.patch
new file mode 100644
index 000000000000..e490677529b6
--- /dev/null
+++ b/gnome-extra/yelp/files/yelp-2.22.1-format-string.patch
@@ -0,0 +1,12 @@
+diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN yelp-2.22.1.orig/src/yelp-window.c yelp-2.22.1/src/yelp-window.c
+--- yelp-2.22.1.orig/src/yelp-window.c 2008-04-07 14:16:39.000000000 -0400
++++ yelp-2.22.1/src/yelp-window.c 2008-08-07 10:57:10.000000000 -0400
+@@ -1154,7 +1154,7 @@ window_error (YelpWindow *window, gchar
+ GTK_BUTTONS_OK,
+ title);
+ gtk_message_dialog_format_secondary_markup
+- (GTK_MESSAGE_DIALOG (dialog), message);
++ (GTK_MESSAGE_DIALOG (dialog), "%s", message);
+ gtk_dialog_run (GTK_DIALOG (dialog));
+
+ gtk_widget_destroy (dialog);