Mercurial > audlegacy
comparison src/audacious/playlist.c @ 3197:5dd8bc77a590 trunk
now "hide seekbar on streaming" uses message passing.
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Wed, 01 Aug 2007 13:55:02 +0900 |
parents | 8775dfc57ead |
children | 764e8f87c186 |
comparison
equal
deleted
inserted
replaced
3196:be1d387e1f66 | 3197:5dd8bc77a590 |
---|---|
1035 { | 1035 { |
1036 Playlist *playlist = playlist_get_active(); | 1036 Playlist *playlist = playlist_get_active(); |
1037 PlaylistEventInfoChange *msg; | 1037 PlaylistEventInfoChange *msg; |
1038 gchar *text; | 1038 gchar *text; |
1039 | 1039 |
1040 if(length == -1) { | |
1041 event_queue("hide seekbar", (gpointer)0xdeadbeef); // event_queue hates NULL --yaz | |
1042 } | |
1043 | |
1040 g_return_if_fail(playlist != NULL); | 1044 g_return_if_fail(playlist != NULL); |
1041 | 1045 |
1042 if (playlist->position) { | 1046 if (playlist->position) { |
1043 g_free(playlist->position->title); | 1047 g_free(playlist->position->title); |
1044 playlist->position->title = g_strdup(title); | 1048 playlist->position->title = g_strdup(title); |