# HG changeset patch # User Tomasz Mon # Date 1211485351 -7200 # Node ID 43a07a0607da2d401f6c0503ef00153965a23e8e # Parent 8e4af29f7e17b8c9759db4d033f2d6f20102a2ec make playlistwin_update_info and playlistwin_update_sinfo working diff -r 8e4af29f7e17 -r 43a07a0607da src/skins/ui_playlist.c --- a/src/skins/ui_playlist.c Thu May 22 20:26:00 2008 +0200 +++ b/src/skins/ui_playlist.c Thu May 22 21:42:31 2008 +0200 @@ -53,8 +53,8 @@ #include "ui_equalizer.h" #if 0 #include "ui_fileinfo.h" +#endif #include "ui_fileopener.h" -#endif #include "ui_main.h" #include "ui_manager.h" #include "ui_playlist_evlisteners.h" @@ -138,7 +138,8 @@ static void playlistwin_update_info(Playlist *playlist) { -#if 0 + g_return_if_fail(playlist != NULL); + gchar *text, *sel_text, *tot_text; gulong selection, total; gboolean selection_more, total_more; @@ -176,13 +177,13 @@ g_free(text); g_free(tot_text); g_free(sel_text); -#endif } static void playlistwin_update_sinfo(Playlist *playlist) { -#if 0 + g_return_if_fail(playlist != NULL); + gchar *posstr, *timestr, *title, *info; gint pos, time; @@ -218,7 +219,6 @@ ui_skinned_textbox_set_text(playlistwin_sinfo, info ? info : ""); g_free(info); -#endif } gboolean @@ -703,9 +703,7 @@ static void playlistwin_show_filebrowser(void) { -#if 0 run_filebrowser(NO_PLAY_BUTTON); -#endif } static void @@ -1817,9 +1815,7 @@ void action_playlist_add_files(void) { -#if 0 run_filebrowser(NO_PLAY_BUTTON); -#endif } void