[gnome-online-accounts] Revert "provider: add an extension point for GoaProviderFactory ..."



commit c0763c846a46f5705ce1469e117fcbf974393f49
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Apr 17 13:31:06 2018 +0200

    Revert "provider: add an extension point for GoaProviderFactory ..."
    
    Provider factories were only used for Telepathy support, and are going
    to be removed.
    
    This reverts commit a45fba786046a261e557588a0f4b4f4d23d85e66.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=795322

 src/goabackend/goaprovider-priv.h |    7 -------
 src/goabackend/goaprovider.c      |    4 ----
 2 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/src/goabackend/goaprovider-priv.h b/src/goabackend/goaprovider-priv.h
index b874eb9..7728bd3 100644
--- a/src/goabackend/goaprovider-priv.h
+++ b/src/goabackend/goaprovider-priv.h
@@ -115,13 +115,6 @@ struct _GoaProviderClass
  */
 #define GOA_PROVIDER_EXTENSION_POINT_NAME "goa-backend-provider"
 
-/**
- * GOA_PROVIDER_FACTORY_EXTENSION_POINT_NAME:
- *
- * Extension point for #GoaProviderFactory implementations.
- */
-#define GOA_PROVIDER_FACTORY_EXTENSION_POINT_NAME "goa-backend-provider-factory"
-
 void        goa_provider_ensure_builtins_loaded                (void);
 
 void        goa_provider_ensure_extension_points_registered    (void);
diff --git a/src/goabackend/goaprovider.c b/src/goabackend/goaprovider.c
index f7bb163..70930d8 100644
--- a/src/goabackend/goaprovider.c
+++ b/src/goabackend/goaprovider.c
@@ -22,7 +22,6 @@
 
 #include "goaprovider.h"
 #include "goaprovider-priv.h"
-#include "goaproviderfactory.h"
 #include "goaexchangeprovider.h"
 #include "goagoogleprovider.h"
 #include "goafacebookprovider.h"
@@ -919,9 +918,6 @@ goa_provider_ensure_extension_points_registered (void)
       extension_point = g_io_extension_point_register (GOA_PROVIDER_EXTENSION_POINT_NAME);
       g_io_extension_point_set_required_type (extension_point, GOA_TYPE_PROVIDER);
 
-      extension_point = g_io_extension_point_register (GOA_PROVIDER_FACTORY_EXTENSION_POINT_NAME);
-      g_io_extension_point_set_required_type (extension_point, GOA_TYPE_PROVIDER_FACTORY);
-
       g_once_init_leave (&once_init_value, 1);
     }
 }


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