changeset 290:b6bcd62394f3

Include correct headers, typecast returnvalue to gint
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 25 Dec 2004 18:16:00 +0000
parents cab5ec6127ee
children e0d671f62e60
files src/xs_fileinfo.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xs_fileinfo.c	Sat Dec 25 17:53:01 2004 +0000
+++ b/src/xs_fileinfo.c	Sat Dec 25 18:16:00 2004 +0000
@@ -22,7 +22,7 @@
 #include <gdk/gdkkeysyms.h>
 #include <gtk/gtk.h>
 
-#include "xmms-sid.h"
+#include "xs_fileinfo.h"
 #include "xs_support.h"
 #include "xs_stil.h"
 #include "xs_config.h"
@@ -83,7 +83,7 @@
  
  if (xs_status.tuneInfo && xs_status.isPlaying)
  	{
- 	n = gtk_range_get_adjustment(GTK_RANGE(LUW("fileinfo_subctrl_adj")))->value;
+ 	n = (gint) gtk_range_get_adjustment(GTK_RANGE(("fileinfo_subctrl_adj")))->value;
  	if ((n >= 1) && (n <= xs_status.tuneInfo->nsubTunes))
  		xs_status.currSong = n;
 	}