[rhythmbox] rb-radio-tuner-v4l2: Use "has_changed" variable



commit 3663ab39f9019e221b129e23f98f2ca9104caa1b
Author: Bastien Nocera <hadess hadess net>
Date:   Sat Feb 5 14:39:06 2011 +0000

    rb-radio-tuner-v4l2: Use "has_changed" variable

 plugins/fmradio/rb-radio-tuner-v4l2.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/fmradio/rb-radio-tuner-v4l2.c b/plugins/fmradio/rb-radio-tuner-v4l2.c
index 4c5a3b4..21007fb 100644
--- a/plugins/fmradio/rb-radio-tuner-v4l2.c
+++ b/plugins/fmradio/rb-radio-tuner-v4l2.c
@@ -39,6 +39,7 @@
 
 #include <glib.h>
 
+#include "rb-debug.h"
 #include "rb-plugin.h"
 #include "rb-radio-tuner.h"
 
@@ -190,6 +191,8 @@ rb_radio_tuner_update (RBRadioTuner *self)
 			/ self->priv->freq_mul;
 	}
 
+	rb_debug ("Tuner %s", has_changed ? "has changed" : "has not changed");
+
 #if 0
 	if (has_changed) {
 		g_signal_emit (self, CHANGED);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]