manager: change ::get_client to ::get_goa_client

This explains better the purpose of the methods, and also
don't collide with the ECalClient prefix we already use.
This commit is contained in:
Georges Basile Stavracas Neto
2015-05-25 12:35:58 -04:00
committed by Erick Pérez Castellanos
parent 87ecb99090
commit 27fa9983f4
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -1541,7 +1541,7 @@ gcal_manager_get_event_from_shell_search (GcalManager *manager,
} }
gboolean gboolean
gcal_manager_is_client_ready (GcalManager *manager) gcal_manager_is_goa_client_ready (GcalManager *manager)
{ {
GcalManagerPrivate *priv; GcalManagerPrivate *priv;
@@ -1553,7 +1553,7 @@ gcal_manager_is_client_ready (GcalManager *manager)
} }
GoaClient* GoaClient*
gcal_manager_get_client (GcalManager *manager) gcal_manager_get_goa_client (GcalManager *manager)
{ {
GcalManagerPrivate *priv; GcalManagerPrivate *priv;
+2 -2
View File
@@ -164,9 +164,9 @@ gboolean gcal_manager_load_completed (GcalManager *manager
GcalEventData* gcal_manager_get_event_from_shell_search (GcalManager *manager, GcalEventData* gcal_manager_get_event_from_shell_search (GcalManager *manager,
const gchar *uuid); const gchar *uuid);
gboolean gcal_manager_is_client_ready (GcalManager *manager); gboolean gcal_manager_is_goa_client_ready (GcalManager *manager);
GoaClient* gcal_manager_get_client (GcalManager *manager); GoaClient* gcal_manager_get_goa_client (GcalManager *manager);
G_END_DECLS G_END_DECLS
+2 -2
View File
@@ -2209,9 +2209,9 @@ gcal_source_dialog_set_manager (GcalSourceDialog *dialog,
* If the GoaClient is already loaded, fetch the online accounts * If the GoaClient is already loaded, fetch the online accounts
* directly. Otherwise, wait for it to be ready. * directly. Otherwise, wait for it to be ready.
*/ */
if (gcal_manager_is_client_ready (manager)) if (gcal_manager_is_goa_client_ready (manager))
{ {
goa_client_ready_cb (dialog, gcal_manager_get_client (manager), NULL); goa_client_ready_cb (dialog, gcal_manager_get_goa_client (manager), NULL);
} }
else else
{ {