changeset 208:d58fe97fcfd1 trunk

[svn] Compile warning fixes, xmms->audacious in a window.
author asheldon
date Sat, 04 Nov 2006 00:17:54 -0800
parents 063e31ae8f92
children 1922e0a308ad
files ChangeLog src/mplayer/xmmsmplayer.c src/sap/fileinfo.c
diffstat 3 files changed, 13 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Nov 03 15:33:42 2006 -0800
+++ b/ChangeLog	Sat Nov 04 00:17:54 2006 -0800
@@ -1,3 +1,11 @@
+2006-11-03 23:33:42 +0000  Tony Vroon <chainsaw@gentoo.org>
+  revision [414]
+  Properly zero out proxy configuration strings if no value is retrieved, otherwise we crash and burn on shutdown.
+  trunk/src/flac112/plugin.c |    9 ++++++---
+  trunk/src/flac113/plugin.c |   12 +++++++++---
+  2 files changed, 15 insertions(+), 6 deletions(-)
+
+
 2006-11-03 22:57:45 +0000  William Pitcock <nenolod@nenolod.net>
   revision [412]
   - spelling. just check it.
--- a/src/mplayer/xmmsmplayer.c	Fri Nov 03 15:33:42 2006 -0800
+++ b/src/mplayer/xmmsmplayer.c	Sat Nov 04 00:17:54 2006 -0800
@@ -139,7 +139,7 @@
 	if(mplayer_current_cfg->onewin &&(!mplayer_video)){
 /*		mplayer_video=gtk_window_new(GTK_WINDOW_DIALOG);
 		gtk_widget_set_usize(GTK_WIDGET(mplayer_video), 320, 240);
-		gtk_window_set_title(GTK_WINDOW(mplayer_video), "XMMS - MPlayer");
+		gtk_window_set_title(GTK_WINDOW(mplayer_video), "Audacious - MPlayer");
 		gtk_signal_connect(GTK_OBJECT(mplayer_video),
 				"destroy",
 				GTK_SIGNAL_FUNC(mplayer_quitting_video),
--- a/src/sap/fileinfo.c	Fri Nov 03 15:33:42 2006 -0800
+++ b/src/sap/fileinfo.c	Sat Nov 04 00:17:54 2006 -0800
@@ -48,10 +48,10 @@
 	int ofd;
  
 	/* tags taken from info_box (edited or not) */
-	author = gtk_entry_get_text(GTK_ENTRY(performer_entry));
-	title = gtk_entry_get_text(GTK_ENTRY(title_entry));
-	date = gtk_entry_get_text(GTK_ENTRY(date_entry));
-	original_filename = gtk_entry_get_text(GTK_ENTRY(filename_entry));
+	author = (gchar*)gtk_entry_get_text(GTK_ENTRY(performer_entry));
+	title = (gchar*)gtk_entry_get_text(GTK_ENTRY(title_entry));
+	date = (gchar*)gtk_entry_get_text(GTK_ENTRY(date_entry));
+	original_filename = (gchar*)gtk_entry_get_text(GTK_ENTRY(filename_entry));
  
 	// prepare tmp file
 	tmpfn = g_strdup_printf("/tmp/sapplugXXXXXX");