[nautilus] Fix leftover debug ifdef



commit 69a2ed26be58da359f96bb6e2626016314ae2310
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Feb 26 15:06:31 2015 -0800

    Fix leftover debug ifdef
    
    Commit 7dfbb8b73a584114dfee7d62fbcc6c8e0f208ed8 removed the ENABLE_DEBUG
    ifdef but it left some files depending on it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745254

 libnautilus-private/nautilus-debug.h |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/libnautilus-private/nautilus-debug.h b/libnautilus-private/nautilus-debug.h
index 0002f63..8c9eb88 100644
--- a/libnautilus-private/nautilus-debug.h
+++ b/libnautilus-private/nautilus-debug.h
@@ -29,8 +29,6 @@
 
 G_BEGIN_DECLS
 
-#ifdef ENABLE_DEBUG
-
 typedef enum {
   NAUTILUS_DEBUG_APPLICATION = 1 << 1,
   NAUTILUS_DEBUG_BOOKMARKS = 1 << 2,
@@ -76,22 +74,6 @@ void nautilus_debug_files (DebugFlags flag, GList *files,
 
 #endif /* DEBUG_FLAG */
 
-#else /* ENABLE_DEBUG */
-
-#ifdef DEBUG_FLAG
-
-#define DEBUG(format, ...) \
-  G_STMT_START { } G_STMT_END
-
-#define DEBUG_FILES(files, format, ...) \
-  G_STMT_START { } G_STMT_END
-
-#define DEBUGGING 0
-
-#endif /* DEBUG_FLAG */
-
-#endif /* ENABLE_DEBUG */
-
 G_END_DECLS
 
 #endif /* __NAUTILUS_DEBUG_H__ */


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