updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / galeon / galeon-2.0.7-fix-str-fmt.patch
blob3e9ad5540b65e16cb255b4578595f975d2c7ab62
1 --- ./libegg/egg-recent-model.c.str 2008-12-24 10:23:19.000000000 +0100
2 +++ ./libegg/egg-recent-model.c 2008-12-24 10:23:43.000000000 +0100
3 @@ -735,7 +735,7 @@
4 error = NULL;
5 if (!g_markup_parse_context_parse (ctx, content, strlen (content),
6 &error)) {
7 - g_warning (error->message);
8 + g_warning ("%s", error->message);
9 g_error_free (error);
10 error = NULL;
11 goto out;
12 --- ./mozilla/GtkNSSSecurityWarningDialogs.cpp.str 2008-12-24 10:27:16.000000000 +0100
13 +++ ./mozilla/GtkNSSSecurityWarningDialogs.cpp 2008-12-24 10:27:53.000000000 +0100
14 @@ -255,12 +255,12 @@
15 GtkDialogFlags flags = parent ? (GtkDialogFlags)0 : GTK_DIALOG_MODAL;
16 #if GTK_CHECK_VERSION(2,6,0)
17 GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (parent), flags,
18 - aType, aButtons, aPrimary);
19 + aType, aButtons, "%s", aPrimary);
21 if (aSecondary)
23 gtk_message_dialog_format_secondary_markup
24 - (GTK_MESSAGE_DIALOG (dialog), aSecondary);
25 + (GTK_MESSAGE_DIALOG (dialog), "%s", aSecondary);
28 #else
29 --- ./utils/gul-download.c.str 2008-12-24 10:24:19.000000000 +0100
30 +++ ./utils/gul-download.c 2008-12-24 10:25:00.000000000 +0100
31 @@ -287,7 +287,7 @@
33 text = g_strdup_printf (_("Failed to execute download "
34 "command."));
35 - g_warning (text);
36 + g_warning ("%s", text);
37 g_free (text);
40 @@ -349,7 +349,7 @@
41 "\thttp://gtm.sourceforge.net"));
42 /* dialog = gnome_error_dialog (text); */
43 /* gnome_dialog_run_and_close (GNOME_DIALOG (dialog)); */
44 - g_warning(text);
45 + g_warning("%s",text);
46 g_free (text);
49 --- ./utils/gul-gui.c.str 2008-12-24 10:25:13.000000000 +0100
50 +++ ./utils/gul-gui.c 2008-12-24 10:25:41.000000000 +0100
51 @@ -793,6 +793,7 @@
52 GTK_RESPONSE_OK,
53 NULL);
54 hig_alert_set_secondary_printf (HIG_ALERT (dialog),
55 + "%s",
56 error->message);
57 g_signal_connect (G_OBJECT (dialog), "response",
58 G_CALLBACK (gtk_widget_destroy),