[gnome-todo] eds: simplify cflags
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] eds: simplify cflags
- Date: Thu, 6 Oct 2016 19:38:22 +0000 (UTC)
commit 40f68a9f335055738dd9422c94f6d1f09368ca29
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Oct 6 13:10:04 2016 -0300
eds: simplify cflags
plugins/eds/Makefile.am | 4 +---
plugins/eds/gtd-plugin-eds.c | 2 ++
plugins/eds/gtd-provider-goa.h | 2 ++
3 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/plugins/eds/Makefile.am b/plugins/eds/Makefile.am
index 78f1ffc..8b6265b 100644
--- a/plugins/eds/Makefile.am
+++ b/plugins/eds/Makefile.am
@@ -20,9 +20,7 @@ libeds_la_SOURCES = \
libeds_la_CFLAGS = \
$(GNOME_TODO_PLUGIN_CFLAGS) \
- $(GNOME_TODO_PLUGIN_WARN_CFLAGS) \
- -DGOA_API_IS_SUBJECT_TO_CHANGE \
- -DG_LOG_DOMAIN='"EDS"'
+ $(GNOME_TODO_PLUGIN_WARN_CFLAGS)
EXTRA_DIST = \
eds.plugin.in
diff --git a/plugins/eds/gtd-plugin-eds.c b/plugins/eds/gtd-plugin-eds.c
index 606065e..042d2f3 100644
--- a/plugins/eds/gtd-plugin-eds.c
+++ b/plugins/eds/gtd-plugin-eds.c
@@ -16,6 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#define G_LOG_DOMAIN "Evolution Data Server"
+
#include "gtd-panel-today.h"
#include "gtd-panel-scheduled.h"
#include "gtd-plugin-eds.h"
diff --git a/plugins/eds/gtd-provider-goa.h b/plugins/eds/gtd-provider-goa.h
index 5847a4c..8906d24 100644
--- a/plugins/eds/gtd-provider-goa.h
+++ b/plugins/eds/gtd-provider-goa.h
@@ -19,6 +19,8 @@
#ifndef GTD_PROVIDER_GOA_H
#define GTD_PROVIDER_GOA_H
+#define GOA_API_IS_SUBJECT_TO_CHANGE 1
+
#include "gtd-provider-eds.h"
#include <glib.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]