[gnome-online-accounts] backend: Don't export GoaOAuthProvider & GoaOAuth2Provider definitions



commit d3600729e18855a15368a85627f359903ad11b22
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Jul 12 19:03:24 2012 +0200

    backend: Don't export GoaOAuthProvider & GoaOAuth2Provider definitions
    
    The full class definitions are not meant to be used as public API.
    Exposing them creates unnecessary additions to the goa-backend-1.0
    Requires field.

 src/examples/Makefile.am             |    2 +-
 src/goabackend/Makefile.am           |    2 --
 src/goabackend/goa-backend-1.0.pc.in |    2 +-
 src/goabackend/goabackend.h          |    2 --
 4 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/src/examples/Makefile.am b/src/examples/Makefile.am
index d383f1f..829c9e5 100644
--- a/src/examples/Makefile.am
+++ b/src/examples/Makefile.am
@@ -17,7 +17,7 @@ INCLUDES = 							\
 noinst_PROGRAMS = list-providers list-accounts tweet
 
 list_providers_SOURCES = list-providers.c
-list_providers_CFLAGS = $(GLIB_CFLAGS) $(GTK_CFLAGS) $(REST_CFLAGS)
+list_providers_CFLAGS = $(GLIB_CFLAGS) $(GTK_CFLAGS)
 list_providers_LDADD = $(GLIB_LIBS) $(GTK_LIBS) ../goabackend/libgoa-backend-1.0.la ../goa/libgoa-1.0.la
 
 list_accounts_SOURCES = list-accounts.c
diff --git a/src/goabackend/Makefile.am b/src/goabackend/Makefile.am
index 9240688..7c29d84 100644
--- a/src/goabackend/Makefile.am
+++ b/src/goabackend/Makefile.am
@@ -50,8 +50,6 @@ libgoa_backend_1_0_la_HEADERS =						\
 	goaeditablelabel.h						\
 	goaprovider.h							\
 	goaexchangeprovider.h						\
-	goaoauthprovider.h						\
-	goaoauth2provider.h						\
 	goagoogleprovider.h						\
 	goafacebookprovider.h						\
 	goayahooprovider.h						\
diff --git a/src/goabackend/goa-backend-1.0.pc.in b/src/goabackend/goa-backend-1.0.pc.in
index 4f6e8b2..294bdc4 100644
--- a/src/goabackend/goa-backend-1.0.pc.in
+++ b/src/goabackend/goa-backend-1.0.pc.in
@@ -6,6 +6,6 @@ includedir= includedir@
 Name: Goa Backends
 Description: Backends for GNOME Online Accounts Library
 Version: @VERSION@
-Requires: goa-1.0 gtk+-3.0 rest-0.7
+Requires: goa-1.0 gtk+-3.0
 Libs: -L${libdir} -lgoa-backend-1.0
 Cflags: -I${includedir}/goa-1.0
diff --git a/src/goabackend/goabackend.h b/src/goabackend/goabackend.h
index 2fecaef..bae963b 100644
--- a/src/goabackend/goabackend.h
+++ b/src/goabackend/goabackend.h
@@ -32,8 +32,6 @@
 #include <goabackend/goalogging.h>
 #include <goabackend/goaeditablelabel.h>
 #include <goabackend/goaprovider.h>
-#include <goabackend/goaoauthprovider.h>
-#include <goabackend/goaoauth2provider.h>
 #include <goabackend/goagoogleprovider.h>
 #include <goabackend/goafacebookprovider.h>
 #include <goabackend/goayahooprovider.h>



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