# HG changeset patch # User Matti Hamalainen # Date 1209519775 -10800 # Node ID 53bd726e4461f9b9c90d18035f9ee54169c06448 # Parent 8465e73d55847f9abd174e2512078a0b593114b6 Temporarily revert small part of mf0102's changeset that broke API by removing util_menu_main_show() and util_info_dialog() from PAPI because of resulting segfaults (the changeset mixes lots of cosmetic and functional changes, so not reverting it all.) NOTICE! Only util_info_dialog() is restored. diff -r 8465e73d5584 -r 53bd726e4461 src/audacious/pluginenum.c --- a/src/audacious/pluginenum.c Wed Apr 30 04:38:01 2008 +0300 +++ b/src/audacious/pluginenum.c Wed Apr 30 04:42:55 2008 +0300 @@ -153,7 +153,7 @@ .uri_get_plugin = uri_get_plugin, .uri_set_plugin = uri_set_plugin, - .util_info_dialog = NULL, /* deprecated --mf0102 */ + .util_info_dialog = util_info_dialog, .get_gentitle_format = get_gentitle_format, .escape_shell_chars = escape_shell_chars, diff -r 8465e73d5584 -r 53bd726e4461 src/audacious/util.h --- a/src/audacious/util.h Wed Apr 30 04:38:01 2008 +0300 +++ b/src/audacious/util.h Wed Apr 30 04:42:55 2008 +0300 @@ -81,6 +81,10 @@ GtkWidget *make_filebrowser(const gchar *title, gboolean save); +GtkWidget *util_info_dialog(const gchar * title, const gchar * text, + const gchar * button_text, gboolean modal, GCallback button_action, + gpointer action_data); + GdkPixbuf *audacious_create_colorized_pixbuf(GdkPixbuf *src, gint red, gint green, gint blue); gchar *util_get_localdir(void);