Mercurial > audlegacy
comparison src/audacious/ui_main_evlisteners.c @ 4585:78e21c07ba6a
branch merge
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Thu, 22 May 2008 19:30:02 +0200 |
parents | 41400d8a5dc9 cf6711eeb12f |
children | 5fa09aa0b14a |
comparison
equal
deleted
inserted
replaced
4584:41400d8a5dc9 | 4585:78e21c07ba6a |
---|---|
61 { | 61 { |
62 gchar *text = (gchar *) hook_data; | 62 gchar *text = (gchar *) hook_data; |
63 | 63 |
64 ui_skinned_textbox_set_text(mainwin_info, text); | 64 ui_skinned_textbox_set_text(mainwin_info, text); |
65 playlistwin_update_list(playlist_get_active()); | 65 playlistwin_update_list(playlist_get_active()); |
66 g_free(text); | |
67 } | 66 } |
68 | 67 |
69 static void | 68 static void |
70 ui_main_evlistener_hide_seekbar(gpointer hook_data, gpointer user_data) | 69 ui_main_evlistener_hide_seekbar(gpointer hook_data, gpointer user_data) |
71 { | 70 { |
191 ui_main_evlistener_playlist_info_change(gpointer hook_data, gpointer user_data) | 190 ui_main_evlistener_playlist_info_change(gpointer hook_data, gpointer user_data) |
192 { | 191 { |
193 PlaylistEventInfoChange *msg = (PlaylistEventInfoChange *) hook_data; | 192 PlaylistEventInfoChange *msg = (PlaylistEventInfoChange *) hook_data; |
194 | 193 |
195 mainwin_set_song_info(msg->bitrate, msg->samplerate, msg->channels); | 194 mainwin_set_song_info(msg->bitrate, msg->samplerate, msg->channels); |
196 | |
197 g_free(msg); | |
198 } | 195 } |
199 | 196 |
200 static void | 197 static void |
201 ui_main_evlistener_mainwin_set_always_on_top(gpointer hook_data, gpointer user_data) | 198 ui_main_evlistener_mainwin_set_always_on_top(gpointer hook_data, gpointer user_data) |
202 { | 199 { |