[gnome-software] trivial: Fix a crash when failing to show the auth registration link



commit 89bd3a60fd6fdebcd44a2dca6dd8131f117bea13
Author: Richard Hughes <richard hughsie com>
Date:   Fri May 19 11:23:02 2017 +0100

    trivial: Fix a crash when failing to show the auth registration link

 src/gs-auth-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-auth-dialog.c b/src/gs-auth-dialog.c
index 08a6cb1..57e25a5 100644
--- a/src/gs-auth-dialog.c
+++ b/src/gs-auth-dialog.c
@@ -136,7 +136,7 @@ gs_auth_dialog_authenticate_cb (GObject *source,
                        if (!gtk_show_uri_on_window (GTK_WINDOW (dialog),
                                                     url,
                                                     GDK_CURRENT_TIME,
-                                                    &error)) {
+                                                    &error_local)) {
                                g_warning ("failed to show URI %s: %s",
                                           url, error_local->message);
                        }


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