Commit f6d4eed0 authored by Cosimo Cecchi's avatar Cosimo Cecchi

debug: fix build without debugging support (#639107)

parent ac168820
......@@ -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}
"
......@@ -49,7 +49,7 @@ static GDebugKey keys[] = {
{ 0, }
};
void
static void
nautilus_debug_set_flags_from_env ()
{
guint nkeys;
......
......@@ -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 */
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment