[gnome-calendar] application: Remove gcal_application_get_manager()



commit 0f1de0c2cad9517bbbd779ff443817ca678fcb5d
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Apr 24 16:46:47 2019 -0300

    application: Remove gcal_application_get_manager()
    
    GcalManager is handled by GcalContext now, and as such, there's
    no need to expose this wrapper around it anymore.

 src/gcal-application.c | 16 ----------------
 src/gcal-application.h |  2 --
 2 files changed, 18 deletions(-)
---
diff --git a/src/gcal-application.c b/src/gcal-application.c
index 91967850..73e1a53a 100644
--- a/src/gcal-application.c
+++ b/src/gcal-application.c
@@ -691,22 +691,6 @@ gcal_application_get_context (GcalApplication *self)
   return self->context;
 }
 
-/**
- * gcal_application_get_manager:
- * @self: a #GcalApplication
- *
- * Retrieves the #GcalManager of the application.
- *
- * Returns: (transfer none): a #GcalManager
- */
-GcalManager*
-gcal_application_get_manager (GcalApplication *self)
-{
-  g_return_val_if_fail (GCAL_IS_APPLICATION (self), NULL);
-
-  return gcal_context_get_manager (self->context);
-}
-
 void
 gcal_application_set_uuid (GcalApplication *self,
                            const gchar     *app_uuid)
diff --git a/src/gcal-application.h b/src/gcal-application.h
index ab124d38..65b817ba 100644
--- a/src/gcal-application.h
+++ b/src/gcal-application.h
@@ -36,8 +36,6 @@ GcalApplication*     gcal_application_new                        (void);
 
 GcalContext*         gcal_application_get_context                (GcalApplication    *self);
 
-GcalManager*         gcal_application_get_manager                (GcalApplication    *self);
-
 void                 gcal_application_set_uuid                   (GcalApplication    *self,
                                                                   const gchar        *app_uuid);
 


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