[gthumb] facebook: fixed authorization process



commit 5ed2d2db876aeb48c4fdbb7f8a79fa163e245f56
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Fri Oct 27 10:11:30 2017 +0200

    facebook: fixed authorization process
    
    listen to 'load-request' events as well

 extensions/facebook/facebook-service.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/extensions/facebook/facebook-service.c b/extensions/facebook/facebook-service.c
index 1e41435..9c1e3e6 100644
--- a/extensions/facebook/facebook-service.c
+++ b/extensions/facebook/facebook-service.c
@@ -319,6 +319,10 @@ facebook_service_ask_authorization (WebService *base)
                          "redirected",
                          G_CALLBACK (ask_authorization_dialog_redirected_cb),
                          self);
+       g_signal_connect (OAUTH_ASK_AUTHORIZATION_DIALOG (dialog),
+                         "load-request",
+                         G_CALLBACK (ask_authorization_dialog_redirected_cb),
+                         self);
 
        gtk_widget_show (dialog);
 }


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