diff options
-rw-r--r-- | configure.in | 1 | ||||
-rw-r--r-- | libnautilus-private/nautilus-debug.c | 2 | ||||
-rw-r--r-- | libnautilus-private/nautilus-debug.h | 4 | ||||
-rw-r--r-- | src/nautilus-main.c | 2 |
4 files changed, 5 insertions, 4 deletions
diff --git a/configure.in b/configure.in index a720f9e57..fed7ef013 100644 --- a/configure.in +++ b/configure.in @@ -380,6 +380,7 @@ nautilus-$VERSION: nautilus-sendto ext: $enable_nst_extension profiling support: ${profiling_support} + debugging support: ${enable_debug} nautilus-extension documentation: ${enable_gtk_doc} nautilus-extension introspection: ${found_introspection} " diff --git a/libnautilus-private/nautilus-debug.c b/libnautilus-private/nautilus-debug.c index 7ef31c9d8..f85cb54cf 100644 --- a/libnautilus-private/nautilus-debug.c +++ b/libnautilus-private/nautilus-debug.c @@ -49,7 +49,7 @@ static GDebugKey keys[] = { { 0, } }; -void +static void nautilus_debug_set_flags_from_env () { guint nkeys; diff --git a/libnautilus-private/nautilus-debug.h b/libnautilus-private/nautilus-debug.h index 423988909..dc55dc4ed 100644 --- a/libnautilus-private/nautilus-debug.h +++ b/libnautilus-private/nautilus-debug.h @@ -45,7 +45,6 @@ typedef enum { NAUTILUS_DEBUG_WINDOW = 1 << 10, } DebugFlags; -void nautilus_debug_set_flags_from_env (void); void nautilus_debug_set_flags (DebugFlags flags); gboolean nautilus_debug_flag_is_set (DebugFlags flag); @@ -79,6 +78,9 @@ void nautilus_debug_files (DebugFlags flag, GList *files, #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 */ diff --git a/src/nautilus-main.c b/src/nautilus-main.c index 6b0dd50c2..25c985be6 100644 --- a/src/nautilus-main.c +++ b/src/nautilus-main.c @@ -96,8 +96,6 @@ main (int argc, char *argv[]) xmp_init(); #endif - nautilus_debug_set_flags_from_env (); - /* Initialize the services that we use. */ LIBXML_TEST_VERSION |