Mercurial > audlegacy-plugins
changeset 1442:95b8abed24c7
statusicon: new tuple API
author | William Pitcock <nenolod@atheme-project.org> |
---|---|
date | Fri, 10 Aug 2007 09:49:37 -0500 |
parents | 1b52e7eacd4c |
children | f4d8082668c1 |
files | src/statusicon/si_ui.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/statusicon/si_ui.c Fri Aug 10 09:47:23 2007 -0500 +++ b/src/statusicon/si_ui.c Fri Aug 10 09:49:37 2007 -0500 @@ -25,7 +25,7 @@ #include "gtktrayicon.h" #include "si.xpm" #include <audacious/playlist.h> -#include <audacious/titlestring.h> +#include <audacious/main.h> #include <audacious/ui_fileinfopopup.h> #include <audacious/util.h> #include <audacious/i18n.h> @@ -144,13 +144,13 @@ { if ( GPOINTER_TO_INT(g_object_get_data( G_OBJECT(evbox) , "timer_active" )) == 1 ) { - TitleInput *tuple; + Tuple *tuple; Playlist *pl_active = playlist_get_active(); gint pos = playlist_get_position(pl_active); GtkWidget *popup = g_object_get_data( G_OBJECT(evbox) , "popup" ); tuple = playlist_get_tuple( pl_active , pos ); - if ( ( tuple == NULL ) || ( tuple->length < 1 ) ) + if ( ( tuple == NULL ) || ( tuple_get_int(tuple, "length") < 1 ) ) { gchar *title = playlist_get_songtitle( pl_active , pos ); audacious_fileinfopopup_show_from_title( popup , title );