[gnome-online-accounts/wip/rishi/libsecret-workaround: 3/5] daemon: Rename update_account_object to have the goa_daemon_ prefix
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/wip/rishi/libsecret-workaround: 3/5] daemon: Rename update_account_object to have the goa_daemon_ prefix
- Date: Mon, 17 Jul 2017 15:36:02 +0000 (UTC)
commit 52a898dbedfabb26d2a6cab5b52a89fc4b34f4fc
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Jul 13 20:47:20 2017 +0200
daemon: Rename update_account_object to have the goa_daemon_ prefix
https://bugzilla.gnome.org/show_bug.cgi?id=784944
src/daemon/goadaemon.c | 36 ++++++++++++++++++------------------
1 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/src/daemon/goadaemon.c b/src/daemon/goadaemon.c
index 4616e5e..6fd3a61 100644
--- a/src/daemon/goadaemon.c
+++ b/src/daemon/goadaemon.c
@@ -637,12 +637,12 @@ add_config_file (GoaDaemon *self,
/* returns FALSE if object is not (or no longer) valid */
static gboolean
-update_account_object (GoaDaemon *self,
- GoaObjectSkeleton *object,
- const gchar *path,
- const gchar *group,
- GKeyFile *key_file,
- gboolean just_added)
+goa_daemon_update_account_object (GoaDaemon *self,
+ GoaObjectSkeleton *object,
+ const gchar *path,
+ const gchar *group,
+ GKeyFile *key_file,
+ gboolean just_added)
{
GoaAccount *account = NULL;
GoaProvider *provider = NULL;
@@ -809,12 +809,12 @@ process_config_entries (GoaDaemon *self,
g_warn_if_fail (key_file_data != NULL);
object = goa_object_skeleton_new (object_path);
- if (update_account_object (self,
- object,
- key_file_data->path,
- group,
- key_file_data->key_file,
- TRUE))
+ if (goa_daemon_update_account_object (self,
+ object,
+ key_file_data->path,
+ group,
+ key_file_data->key_file,
+ TRUE))
{
g_dbus_object_manager_server_export (self->object_manager, G_DBUS_OBJECT_SKELETON (object));
g_signal_connect (goa_object_peek_account (GOA_OBJECT (object)),
@@ -843,12 +843,12 @@ process_config_entries (GoaDaemon *self,
object = GOA_OBJECT (g_dbus_object_manager_get_object (G_DBUS_OBJECT_MANAGER (self->object_manager),
object_path));
g_warn_if_fail (object != NULL);
- if (!update_account_object (self,
- GOA_OBJECT_SKELETON (object),
- key_file_data->path,
- group,
- key_file_data->key_file,
- FALSE))
+ if (!goa_daemon_update_account_object (self,
+ GOA_OBJECT_SKELETON (object),
+ key_file_data->path,
+ group,
+ key_file_data->key_file,
+ FALSE))
{
g_signal_handlers_disconnect_by_func (goa_object_peek_account (object),
G_CALLBACK (on_account_handle_remove),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]