[frogr] Check the right response (OK) in the first authorization dialog



commit db7bf2cf6944bc1e4d64ebba8d397fc026838552
Author: Mario Sanchez Prada <msanchez gnome org>
Date:   Wed Dec 26 01:04:29 2012 +0100

    Check the right response (OK) in the first authorization dialog

 src/frogr-auth-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/frogr-auth-dialog.c b/src/frogr-auth-dialog.c
index baca881..3132b22 100644
--- a/src/frogr-auth-dialog.c
+++ b/src/frogr-auth-dialog.c
@@ -66,7 +66,7 @@ _ask_for_authorization (GtkWindow *parent)
 static void
 _ask_for_authorization_response_cb (GtkDialog *dialog, gint response, gpointer data)
 {
-  if (response == GTK_RESPONSE_CLOSE)
+  if (response == GTK_RESPONSE_OK)
     {
       FrogrController *controller = frogr_controller_get_instance();
       frogr_controller_open_auth_url (controller);



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