[libgda] GdaBrowser: auth. dialog correction



commit c14da79583211eb66f6228032fe58cedace684a7
Author: Vivien Malerba <malerba gnome-db org>
Date:   Mon Oct 18 20:48:18 2010 +0200

    GdaBrowser: auth. dialog correction

 tools/browser/auth-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/browser/auth-dialog.c b/tools/browser/auth-dialog.c
index efc2c06..e66c21c 100644
--- a/tools/browser/auth-dialog.c
+++ b/tools/browser/auth-dialog.c
@@ -136,7 +136,7 @@ auth_contents_changed_cb (GdauiAuth *auth, gboolean is_valid, AuthDialog *dialog
 static void
 update_ad_auth (AuthData *ad)
 {
-	if (ad->cncinfo.auth_string) {
+	if (ad->auth_widget && ad->cncinfo.auth_string) {
 		/* split array in a list of named parameters, and for each parameter value, 
 		 * set the correcponding parameter in @dset */
 		GdaSet *dset;



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