Репозитории ALT
S: | 4.3.1-alt1 |
5.1: | 2.2-alt0.M50P.1 |
4.1: | 1.4.5-alt2 |
4.0: | 1.3.5-alt3 |
Другие репозитории
Upstream: | 1.5.0 |
Группа :: Звук
Пакет: audacious-plugins
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: audacious-plugins-2.1-beta1-format-strings.patch
Скачать
Скачать
diff -p -up audacious-plugins-2.1-beta1/src/amidi-plug/i_utils.c.format-strings audacious-plugins-2.1-beta1/src/amidi-plug/i_utils.c
--- audacious-plugins-2.1-beta1/src/amidi-plug/i_utils.c.format-strings 2009-06-26 19:51:05.000000000 +0200
+++ audacious-plugins-2.1-beta1/src/amidi-plug/i_utils.c 2009-07-01 13:13:30.000000000 +0200
@@ -125,9 +125,9 @@ gpointer i_message_gui( gchar * title ,
if ( parent_win != NULL )
win = gtk_message_dialog_new( GTK_WINDOW(parent_win) , GTK_DIALOG_DESTROY_WITH_PARENT ,
- mtype , GTK_BUTTONS_OK , message );
+ mtype , GTK_BUTTONS_OK , "%s", message );
else
- win = gtk_message_dialog_new( NULL , 0 , mtype , GTK_BUTTONS_OK , message );
+ win = gtk_message_dialog_new( NULL , 0 , mtype , GTK_BUTTONS_OK , "%s", message );
gtk_window_set_title( GTK_WINDOW(win) , title );
g_signal_connect_swapped( G_OBJECT(win) , "response" , G_CALLBACK(gtk_widget_destroy) , win );
diff -p -up audacious-plugins-2.1-beta1/src/bluetooth/agent.c.format-strings audacious-plugins-2.1-beta1/src/bluetooth/agent.c
--- audacious-plugins-2.1-beta1/src/bluetooth/agent.c.format-strings 2009-06-26 19:51:05.000000000 +0200
+++ audacious-plugins-2.1-beta1/src/bluetooth/agent.c 2009-07-01 13:13:30.000000000 +0200
@@ -722,7 +722,7 @@ static void bonding_created(DBusGProxy *
device = g_strdup_printf("%s (%s)", name, address);
} else
device = g_strdup(address);
- bonded_dev = g_strdup_printf(address);
+ bonded_dev = g_strdup_printf("%s", address);
text = g_strdup_printf(_("Created bonding with %s"), device);
diff -p -up audacious-plugins-2.1-beta1/src/cdaudio-ng/cdaudio-ng.c.format-strings audacious-plugins-2.1-beta1/src/cdaudio-ng/cdaudio-ng.c
diff -p -up audacious-plugins-2.1-beta1/src/evdev-plug/ed_ui.c.format-strings audacious-plugins-2.1-beta1/src/evdev-plug/ed_ui.c
--- audacious-plugins-2.1-beta1/src/evdev-plug/ed_ui.c.format-strings 2009-06-26 19:51:05.000000000 +0200
+++ audacious-plugins-2.1-beta1/src/evdev-plug/ed_ui.c 2009-07-01 13:13:30.000000000 +0200
@@ -1533,7 +1533,7 @@ ed_ui_message_show ( gchar * title , gch
message_win = gtk_message_dialog_new(
parent_win ,
( parent_win != NULL ? GTK_DIALOG_DESTROY_WITH_PARENT : 0 ) ,
- GTK_MESSAGE_INFO , GTK_BUTTONS_CLOSE , message );
+ GTK_MESSAGE_INFO , GTK_BUTTONS_CLOSE , "%s", message );
gtk_window_set_title( GTK_WINDOW(message_win) , title );
gtk_dialog_run( GTK_DIALOG(message_win) );
diff -p -up audacious-plugins-2.1-beta1/src/lastfm/lastfm.c.format-strings audacious-plugins-2.1-beta1/src/lastfm/lastfm.c
--- audacious-plugins-2.1-beta1/src/lastfm/lastfm.c.format-strings 2009-06-26 19:51:05.000000000 +0200
+++ audacious-plugins-2.1-beta1/src/lastfm/lastfm.c 2009-07-01 13:13:30.000000000 +0200
@@ -99,7 +99,7 @@ static void show_login_error_dialog(void
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
- _(markup));
+ "%s", _(markup));
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);
}
diff -p -up audacious-plugins-2.1-beta1/src/mtp_up/mtp.c.format-strings audacious-plugins-2.1-beta1/src/mtp_up/mtp.c
--- audacious-plugins-2.1-beta1/src/mtp_up/mtp.c.format-strings 2009-06-26 19:51:06.000000000 +0200
+++ audacious-plugins-2.1-beta1/src/mtp_up/mtp.c 2009-07-01 13:13:30.000000000 +0200
@@ -63,7 +63,7 @@ void show_dialog(const gchar* message)
GTK_DIALOG_MODAL,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
- message);
+ "%s", message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_show(dialog);
/* gtk_widget_destroy(dialog); */
diff -p -up audacious-plugins-2.1-beta1/src/skins/ui_main.c.format-strings audacious-plugins-2.1-beta1/src/skins/ui_main.c
--- audacious-plugins-2.1-beta1/src/skins/ui_main.c.format-strings 2009-06-26 19:51:06.000000000 +0200
+++ audacious-plugins-2.1-beta1/src/skins/ui_main.c 2009-07-01 13:13:30.000000000 +0200
@@ -1838,7 +1838,7 @@ run_no_output_device_dialog(gpointer hoo
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
- _(markup));
+ "%s", _(markup));
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);
GDK_THREADS_LEAVE();