Mercurial > audlegacy
changeset 3334:ea806daf3ef0 trunk
rename xmms_get_gentitle_format() to get_gentitle_format().
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Sat, 11 Aug 2007 23:59:24 +0900 |
parents | 612007382f0c |
children | 63d7947d7376 |
files | src/audacious/input.c src/audacious/main.c src/audacious/playlist.c src/audacious/plugin.h |
diffstat | 4 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/input.c Sat Aug 11 14:54:34 2007 +0200 +++ b/src/audacious/input.c Sat Aug 11 23:59:24 2007 +0900 @@ -609,7 +609,7 @@ tuple_associate_string(tuple, "file-path", g_path_get_dirname(tmp)); - tmp = tuple_formatter_process_string(tuple, cfg.gentitle_format); + tmp = tuple_formatter_process_string(tuple, get_gentitle_format()); if (tmp != NULL && *tmp != '\0') { (*title) = str_to_utf8(tmp); g_free(tmp);
--- a/src/audacious/main.c Sat Aug 11 14:54:34 2007 +0200 +++ b/src/audacious/main.c Sat Aug 11 23:59:24 2007 +0900 @@ -453,7 +453,7 @@ } const gchar * -xmms_get_gentitle_format(void) +get_gentitle_format(void) { guint titlestring_preset = cfg.titlestring_preset;
--- a/src/audacious/playlist.c Sat Aug 11 14:54:34 2007 +0200 +++ b/src/audacious/playlist.c Sat Aug 11 23:59:24 2007 +0900 @@ -239,7 +239,7 @@ /* entry is still around */ formatter = tuple_get_string(tuple, "formatter"); entry->title = tuple_formatter_process_string(tuple, formatter ? - formatter : xmms_get_gentitle_format()); + formatter : get_gentitle_format()); entry->length = tuple_get_int(tuple, "length"); entry->tuple = tuple; @@ -676,7 +676,7 @@ if (tuple != NULL) { const gchar *formatter = tuple_get_string(tuple, "formatter"); entry->title = tuple_formatter_process_string(tuple, formatter ? - formatter : xmms_get_gentitle_format()); + formatter : get_gentitle_format()); entry->length = tuple_get_int(tuple, "length"); entry->tuple = tuple; }
--- a/src/audacious/plugin.h Sat Aug 11 14:54:34 2007 +0200 +++ b/src/audacious/plugin.h Sat Aug 11 23:59:24 2007 +0900 @@ -319,7 +319,7 @@ G_BEGIN_DECLS /* So that input plugins can get the title formatting information */ -G_CONST_RETURN gchar * xmms_get_gentitle_format(void); +G_CONST_RETURN gchar * get_gentitle_format(void); /* So that output plugins can communicate with effect plugins */ EffectPlugin *get_current_effect_plugin(void);