changeset 4141:f320e2c2bfc5

some cleaning
author Tomasz Mon <desowin@gmail.com>
date Mon, 31 Dec 2007 17:08:52 +0100
parents 7416ba3939ef
children 6737f5e019a9
files src/audacious/ui_playlist.c
diffstat 1 files changed, 1 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- 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)
 {