changeset 1956:05bfc86250f3

Kill some warnings.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 02 Oct 2007 03:41:53 +0300
parents 2c6cffdea077
children 0d2f57214b0c
files src/sid/xmms-sid.c src/sid/xs_config.c src/sid/xs_curve.c src/sid/xs_genui.c
diffstat 4 files changed, 20 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/src/sid/xmms-sid.c	Tue Oct 02 03:15:27 2007 +0300
+++ b/src/sid/xmms-sid.c	Tue Oct 02 03:41:53 2007 +0300
@@ -289,7 +289,7 @@
 {
 	t_xs_tuneinfo *tmpTune;
 	gboolean audioOpen = FALSE;
-	gint audioGot, tmpLength, i, subTune;
+	gint audioGot, tmpLength, subTune;
 	gchar *tmpFilename, *audioBuffer = NULL, *oversampleBuffer = NULL, *tmpTitle;
 	Tuple *tmpTuple;
 
@@ -548,8 +548,9 @@
 /*
  * A stub seek function (Audacious will crash if seek is NULL)
  */
-void xs_seek(InputPlayback *pb, gint iTime)
+void xs_seek(InputPlayback *pb, gint time)
 {
+	(void) pb; (void) time;
 }
 
 
--- a/src/sid/xs_config.c	Tue Oct 02 03:15:27 2007 +0300
+++ b/src/sid/xs_config.c	Tue Oct 02 03:41:53 2007 +0300
@@ -522,7 +522,6 @@
 	return TRUE;
 }
 
-
 /* Get the configuration (from file or default)
  */
 void xs_read_configuration(void)
@@ -755,6 +754,19 @@
 }
 
 
+/* Confirmation window
+ */
+gboolean xs_confirmwin_delete(GtkWidget *widget, GdkEvent *event, gpointer user_data)
+{
+	(void) widget;
+	(void) event;
+	(void) user_data;
+	
+	return FALSE;
+}
+
+
+
 /* HVSC songlength-database file selector response-functions
  */
 void xs_cfg_sldb_browse(GtkButton * button, gpointer user_data)
--- a/src/sid/xs_curve.c	Tue Oct 02 03:15:27 2007 +0300
+++ b/src/sid/xs_curve.c	Tue Oct 02 03:41:53 2007 +0300
@@ -169,22 +169,22 @@
 
 	switch (prop_id) {
 	case PROP_MIN_X:
-		gtk_curve_set_range(curve,
+		xs_curve_set_range(curve,
 			g_value_get_float(value), curve->max_x,
 			curve->min_y, curve->max_y);
 		break;
 	case PROP_MAX_X:
-		gtk_curve_set_range(curve,
+		xs_curve_set_range(curve,
 			curve->min_x, g_value_get_float(value),
 			curve->min_y, curve->max_y);
 		break;
 	case PROP_MIN_Y:
-		gtk_curve_set_range(curve,
+		xs_curve_set_range(curve,
 			curve->min_x, curve->max_x,
 			g_value_get_float(value), curve->max_y);
 		break;
 	case PROP_MAX_Y:
-		gtk_curve_set_range(curve,
+		xs_curve_set_range(curve,
 			curve->min_x, curve->max_x,
 			curve->min_y, g_value_get_float(value));
 		break;
--- a/src/sid/xs_genui.c	Tue Oct 02 03:15:27 2007 +0300
+++ b/src/sid/xs_genui.c	Tue Oct 02 03:41:53 2007 +0300
@@ -8,14 +8,3 @@
 #include "xs_interface.h"
 #include "xs_glade.h"
 
-
-
-gboolean
-xs_confirmwin_delete                   (GtkWidget       *widget,
-                                        GdkEvent        *event,
-                                        gpointer         user_data)
-{
-
-  return FALSE;
-}
-