changeset 492:1775b3f16cd9

Move variables to better block.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 26 Jan 2007 18:04:03 +0000
parents a3fdd2d6c056
children e2f2a9ce0e10
files src/xs_fileinfo.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xs_fileinfo.c	Fri Jan 26 16:36:01 2007 +0000
+++ b/src/xs_fileinfo.c	Fri Jan 26 18:04:03 2007 +0000
@@ -138,14 +138,14 @@
 
 void xs_fileinfo_update(void)
 {
-	gboolean isEnabled;
-	GtkAdjustment *tmpAdj;
-
 	XS_MUTEX_LOCK(xs_status);
 	XS_MUTEX_LOCK(xs_fileinfowin);
 
 	/* Check if control window exists, we are currently playing and have a tune */
 	if (xs_fileinfowin) {
+		gboolean isEnabled;
+		GtkAdjustment *tmpAdj;
+
 		if (xs_status.tuneInfo && xs_status.isPlaying && (xs_status.tuneInfo->nsubTunes > 1)) {
 			tmpAdj = gtk_range_get_adjustment(GTK_RANGE(LUW("fileinfo_subctrl_adj")));