[ekiga/ds-gtk-application] Engine: Take autoconf DEBUG into account.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/ds-gtk-application] Engine: Take autoconf DEBUG into account.
- Date: Sat, 20 Dec 2014 12:47:42 +0000 (UTC)
commit ccebfced64321169f63fcc36f351805e79bc5c3a
Author: Damien Sandras <dsandras seconix com>
Date: Sat Dec 20 13:42:09 2014 +0100
Engine: Take autoconf DEBUG into account.
This was hardcoded in the files. It is useless as we have an autoconf
parameter.
lib/engine/framework/services.cpp | 3 +--
lib/engine/plugin/plugin-core.cpp | 2 --
2 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/lib/engine/framework/services.cpp b/lib/engine/framework/services.cpp
index 9a98c43..7fbde1e 100644
--- a/lib/engine/framework/services.cpp
+++ b/lib/engine/framework/services.cpp
@@ -34,10 +34,9 @@
*/
-/* set DEBUG to 1 and the service core will tell whenever something is added or
+/* enable DEBUG through configure and the service core will tell whenever something is added or
* asked to it...
*/
-#define DEBUG 0
#if DEBUG
#include <iostream>
diff --git a/lib/engine/plugin/plugin-core.cpp b/lib/engine/plugin/plugin-core.cpp
index e6fd614..792bb98 100644
--- a/lib/engine/plugin/plugin-core.cpp
+++ b/lib/engine/plugin/plugin-core.cpp
@@ -39,8 +39,6 @@
#include <gmodule.h>
-#define DEBUG 0
-
#if DEBUG
#include <iostream>
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]