Mercurial > audlegacy-plugins
changeset 787:9794a5487524 trunk
[svn] aosd: do not use str_to_utf8
author | giacomo |
---|---|
date | Tue, 06 Mar 2007 06:53:31 -0800 |
parents | c23705487009 |
children | 2461b711162b |
files | ChangeLog src/aosd/aosd_common.h src/aosd/aosd_trigger.c |
diffstat | 3 files changed, 13 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Mar 06 05:17:29 2007 -0800 +++ b/ChangeLog Tue Mar 06 06:53:31 2007 -0800 @@ -1,3 +1,13 @@ +2007-03-06 13:17:29 +0000 Yoshiki Yazawa <yaz@cc.rim.or.jp> + revision [1670] + - avoid crash when error message doesn't contain <TITLE>. + + trunk/src/scrobbler/gerpok.c | 13 ++++++++----- + trunk/src/scrobbler/hatena.c | 13 ++++++++----- + trunk/src/scrobbler/scrobbler.c | 13 ++++++++----- + 3 files changed, 24 insertions(+), 15 deletions(-) + + 2007-03-06 12:44:26 +0000 William Pitcock <nenolod@sacredspiral.co.uk> revision [1668] - don't use a vfs buffered source for local files
--- a/src/aosd/aosd_common.h Tue Mar 06 05:17:29 2007 -0800 +++ b/src/aosd/aosd_common.h Tue Mar 06 06:53:31 2007 -0800 @@ -30,6 +30,6 @@ #include "../../config.h" -#define AOSD_VERSION_PLUGIN "0.1beta" +#define AOSD_VERSION_PLUGIN "0.1beta2" #endif /* !_I_AOSD_COMMON_H */
--- a/src/aosd/aosd_trigger.c Tue Mar 06 05:17:29 2007 -0800 +++ b/src/aosd/aosd_trigger.c Tue Mar 06 06:53:31 2007 -0800 @@ -163,7 +163,7 @@ gint pos = playlist_get_position(active); title = playlist_get_songtitle(active, pos); } - gchar *utf8_title = str_to_utf8( title ); + gchar *utf8_title = g_strdup( title ); if ( g_utf8_validate( utf8_title , -1 , NULL ) == TRUE ) { gchar *utf8_title_markup = g_markup_printf_escaped( @@ -230,7 +230,7 @@ if ( ( pl_entry->title != NULL ) && ( strcmp(pl_entry->title,prevs->title) ) ) { /* string formatting is done here a.t.m. - TODO - improve this area */ - gchar *utf8_title = str_to_utf8( pl_entry->title ); + gchar *utf8_title = g_strdup( pl_entry->title ); if ( g_utf8_validate( utf8_title , -1 , NULL ) == TRUE ) { gchar *utf8_title_markup = g_markup_printf_escaped(