[recipes] fixup



commit 7cc2d77a7ddbb0933ff3084b5ce53fcc58a5a5e8
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Feb 12 17:59:14 2017 -0500

    fixup

 src/gr-account.c |    4 ++--
 src/gr-account.h |    2 +-
 src/gr-window.c  |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gr-account.c b/src/gr-account.c
index 0236c14..343742f 100644
--- a/src/gr-account.c
+++ b/src/gr-account.c
@@ -185,7 +185,7 @@ account_response (GDBusConnection *connection,
                 g_set_error (&error, G_IO_ERROR, G_IO_ERROR_FAILED,
                              _("Got an error from Account portal"));
 
-                cbdata->callback (NULL, NULL, NULL, cbdata->data, &error);
+                cbdata->callback (NULL, NULL, NULL, cbdata->data, error);
         }
 
         free_callback_data (cbdata);
@@ -223,7 +223,7 @@ window_handle_exported (GtkWindow  *window,
 
         if (!ret) {
                 g_message ("Could not talk to Account portal: %s", error->message);
-                cbdata->callback (NULL, NULL, NULL, cbdata->data, &error);
+                cbdata->callback (NULL, NULL, NULL, cbdata->data, error);
                 free_callback_data (cbdata);
                 return;
         }
diff --git a/src/gr-account.h b/src/gr-account.h
index 496783f..854d934 100644
--- a/src/gr-account.h
+++ b/src/gr-account.h
@@ -28,7 +28,7 @@ typedef void (* AccountInformationCallback) (const char  *id,
                                              const char  *name,
                                              const char  *image_path,
                                              gpointer     data,
-                                             GError     **error);
+                                             GError      *error);
 
 void    gr_account_get_information (GtkWindow                  *window,
                                     AccountInformationCallback  callback,
diff --git a/src/gr-window.c b/src/gr-window.c
index e089336..d38f99d 100644
--- a/src/gr-window.c
+++ b/src/gr-window.c
@@ -701,7 +701,7 @@ got_account_info (const char  *id,
                   const char  *name,
                   const char  *image_path,
                   gpointer     data,
-                  GError     **error)
+                  GError      *error)
 {
         g_autoptr(GrChef) chef = NULL;
         GrWindow *window = data;


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