[buoh/builder-port: 1/5] Fix buoh_debug function
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [buoh/builder-port: 1/5] Fix buoh_debug function
- Date: Wed, 12 Sep 2018 11:55:48 +0000 (UTC)
commit fe612f881b135de9dc8fb2f9797b7497a3894e06
Author: Jan Tojnar <jtojnar gmail com>
Date: Sun Sep 9 15:28:16 2018 +0200
Fix buoh_debug function
Meson defines NDEBUG constant instead of GNOME_ENABLE_DEBUG defined
by the gnome-common m4 macros. Because of this, the buoh_debug function
never printed anything.
src/buoh.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/buoh.c b/src/buoh.c
index 0222257..6586027 100644
--- a/src/buoh.c
+++ b/src/buoh.c
@@ -67,7 +67,7 @@ G_DEFINE_TYPE (Buoh, buoh, G_TYPE_OBJECT)
void
buoh_debug (const gchar *format, ...)
{
-#ifdef GNOME_ENABLE_DEBUG
+#ifdef NDEBUG
va_list args;
gchar *string;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]