[gnac/devel] Fix a bug introduced in last commit with gnac State
- From: David Joaquim <djoaquim src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnac/devel] Fix a bug introduced in last commit with gnac State
- Date: Sun, 29 Nov 2009 17:33:03 +0000 (UTC)
commit 2c02d3b18c7adcec06d8f4eaa91b1f1303dfeee6
Author: David Joaquim <djoaquim src gnome org>
Date: Sun Nov 29 18:32:25 2009 +0100
Fix a bug introduced in last commit with gnac State
src/gnac-main.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/src/gnac-main.c b/src/gnac-main.c
index a53b111..958338e 100644
--- a/src/gnac-main.c
+++ b/src/gnac-main.c
@@ -80,25 +80,21 @@ GnacState state;
GnacState prev_state;
LibgnacMetadata *metadata;
-#ifdef GNOME_ENABLE_DEBUG
- static const gchar *states[] = {
+static const gchar *states[] = {
"GNAC_AUDIO_EMPTY_STATE",
"GNAC_AUDIO_FILE_ACTION_STATE",
"GNAC_AUDIO_READY_STATE",
"GNAC_AUDIO_CLEAR_STATE",
"GNAC_AUDIO_CONVERT_STATE",
"GNAC_AUDIO_PAUSED_STATE"
- };
-#endif
+};
static void
gnac_change_state(GnacState new_state)
{
-#ifdef GNOME_ENABLE_DEBUG
libgnac_info("State changed to %s", states[new_state]);
-#endif
prev_state = state;
state = new_state;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]