[gnome-photos] configure.ac: Define GOA_API_IS_SUBJECT_TO_CHANGE



commit d121c2461f03344d6b99a2a06e7401988dfe5e83
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed May 2 23:20:52 2012 +0200

    configure.ac: Define GOA_API_IS_SUBJECT_TO_CHANGE
    
    This saves us from defining it in every source file.

 configure.ac                |    3 +++
 src/photos-source-manager.c |    1 -
 src/photos-source.c         |    1 -
 3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f17273c..ba5ea0f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,7 +46,10 @@ PKG_CHECK_MODULES(CLUTTER_GTK, [clutter-gtk-1.0])
 PKG_CHECK_MODULES(GDK_PIXBUF, [gdk-pixbuf-2.0])
 PKG_CHECK_MODULES(GLIB, [glib-2.0 >= $GLIB_MIN_VERSION])
 PKG_CHECK_MODULES(GIO, [gio-2.0])
+
 PKG_CHECK_MODULES(GOA, [goa-1.0])
+AC_DEFINE([GOA_API_IS_SUBJECT_TO_CHANGE], [], [We are aware that GOA's API can change])
+
 PKG_CHECK_MODULES(GTK, [gtk+-3.0])
 PKG_CHECK_MODULES(TRACKER, [tracker-sparql-0.14])
 
diff --git a/src/photos-source-manager.c b/src/photos-source-manager.c
index 379c439..3dbd67a 100644
--- a/src/photos-source-manager.c
+++ b/src/photos-source-manager.c
@@ -20,7 +20,6 @@
 
 
 #include "config.h"
-#define GOA_API_IS_SUBJECT_TO_CHANGE
 
 #include <glib.h>
 #include <glib/gi18n.h>
diff --git a/src/photos-source.c b/src/photos-source.c
index 4746243..f4b37b9 100644
--- a/src/photos-source.c
+++ b/src/photos-source.c
@@ -20,7 +20,6 @@
 
 
 #include "config.h"
-#define GOA_API_IS_SUBJECT_TO_CHANGE
 
 #include <gio/gio.h>
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]