# HG changeset patch # User William Pitcock # Date 1192326099 18000 # Node ID 269449ad845ea247b2550095fd289ab6c30e649d # Parent d41d03630f27f0dff86f618719e00fa676f7a44c vtable get_gentitle_format(). diff -r d41d03630f27 -r 269449ad845e src/audacious/plugin.h --- a/src/audacious/plugin.h Sat Oct 13 20:35:58 2007 -0500 +++ b/src/audacious/plugin.h Sat Oct 13 20:41:39 2007 -0500 @@ -285,6 +285,7 @@ const gchar * button_text, gboolean modal, GCallback button_action, gpointer action_data); + const gchar *(*get_gentitle_format)(void); /* strings API */ gchar *(*escape_shell_chars)(const gchar * string); @@ -404,6 +405,7 @@ #define aud_info_dialog _audvt->util_info_dialog #define audacious_info_dialog _audvt->util_info_dialog +#define aud_get_gentitle_format _audvt->get_gentitle_format #define aud_escape_shell_chars _audvt->escape_shell_chars #define aud_str_append _audvt->str_append @@ -603,11 +605,4 @@ /* undefine the macro -- struct Plugin should be used instead. */ #undef PLUGIN_COMMON_FIELDS -G_BEGIN_DECLS - -/* So that input plugins can get the title formatting information */ -G_CONST_RETURN gchar * get_gentitle_format(void); - -G_END_DECLS - #endif diff -r d41d03630f27 -r 269449ad845e src/audacious/pluginenum.c --- a/src/audacious/pluginenum.c Sat Oct 13 20:35:58 2007 -0500 +++ b/src/audacious/pluginenum.c Sat Oct 13 20:41:39 2007 -0500 @@ -133,6 +133,7 @@ .uri_set_plugin = uri_set_plugin, .util_info_dialog = util_info_dialog, + .get_gentitle_format = get_gentitle_format, .escape_shell_chars = escape_shell_chars, .str_append = str_append,