# HG changeset patch # User Tomasz Mon # Date 1199117332 -3600 # Node ID f320e2c2bfc5206573f3703f2f450962972d55fe # Parent 7416ba3939efdd6d76d435e9829e14bcc1d6d79a some cleaning diff -r 7416ba3939ef -r f320e2c2bfc5 src/audacious/ui_playlist.c --- a/src/audacious/ui_playlist.c Mon Dec 31 16:57:38 2007 +0100 +++ b/src/audacious/ui_playlist.c Mon Dec 31 17:08:52 2007 +0100 @@ -108,11 +108,9 @@ gint playlistwin_get_height_unshaded(void) { - gint height; cfg.playlist_height /= PLAYLISTWIN_HEIGHT_SNAP; cfg.playlist_height *= PLAYLISTWIN_HEIGHT_SNAP; - height = cfg.playlist_height; - return height; + return cfg.playlist_height; } gint @@ -130,16 +128,6 @@ return playlistwin_get_height_unshaded(); } -void -playlistwin_get_size(gint * width, gint * height) -{ - if (width) - *width = playlistwin_get_width(); - - if (height) - *height = playlistwin_get_height(); -} - static void playlistwin_update_info(Playlist *playlist) {