[gnome-online-accounts] daemon, utils: Rename goa_utils_delete_credentials_sync



commit 5574cd7c75da9133c8a62067882607a494a0da16
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri May 6 19:04:35 2016 +0200

    daemon, utils: Rename goa_utils_delete_credentials_sync
    
    ... because we are going to add a for_id variant in a subsequent
    commit.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=688041

 src/daemon/goadaemon.c    |    2 +-
 src/goabackend/goautils.c |    8 ++++----
 src/goabackend/goautils.h |    8 ++++----
 3 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/daemon/goadaemon.c b/src/daemon/goadaemon.c
index b9f9993..46f129e 100644
--- a/src/daemon/goadaemon.c
+++ b/src/daemon/goadaemon.c
@@ -1087,7 +1087,7 @@ on_account_handle_remove (GoaAccount            *account,
     }
 
   error = NULL;
-  if (!goa_utils_delete_credentials_sync (provider, account, NULL, &error))
+  if (!goa_utils_delete_credentials_for_account_sync (provider, account, NULL, &error))
     {
       g_dbus_method_invocation_take_error (invocation, error);
       goto out;
diff --git a/src/goabackend/goautils.c b/src/goabackend/goautils.c
index 55407ff..8a28c29 100644
--- a/src/goabackend/goautils.c
+++ b/src/goabackend/goautils.c
@@ -174,10 +174,10 @@ goa_utils_set_dialog_title (GoaProvider *provider, GtkDialog *dialog, gboolean a
 }
 
 gboolean
-goa_utils_delete_credentials_sync (GoaProvider   *provider,
-                                   GoaAccount    *object,
-                                   GCancellable  *cancellable,
-                                   GError       **error)
+goa_utils_delete_credentials_for_account_sync (GoaProvider   *provider,
+                                               GoaAccount    *object,
+                                               GCancellable  *cancellable,
+                                               GError       **error)
 {
   gboolean ret;
   gchar *password_key;
diff --git a/src/goabackend/goautils.h b/src/goabackend/goautils.h
index 840ca8c..f106ecf 100644
--- a/src/goabackend/goautils.h
+++ b/src/goabackend/goautils.h
@@ -54,10 +54,10 @@ gchar           *goa_utils_data_input_stream_read_line (GDataInputStream  *strea
 
 void             goa_utils_set_dialog_title (GoaProvider *provider, GtkDialog *dialog, gboolean add_account);
 
-gboolean         goa_utils_delete_credentials_sync (GoaProvider    *provider,
-                                                    GoaAccount     *account,
-                                                    GCancellable   *cancellable,
-                                                    GError        **error);
+gboolean         goa_utils_delete_credentials_for_account_sync (GoaProvider    *provider,
+                                                                GoaAccount     *account,
+                                                                GCancellable   *cancellable,
+                                                                GError        **error);
 
 GVariant        *goa_utils_lookup_credentials_sync (GoaProvider    *provider,
                                                     GoaObject      *object,


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