changeset 4527:53bd726e4461

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.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 30 Apr 2008 04:42:55 +0300
parents 8465e73d5584
children 2638175099e0
files src/audacious/pluginenum.c src/audacious/util.h
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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,
--- 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);