[libgda/LIBGDA_4.0] Gda-SQL: corrected previously introduced bug



commit b8a3c9ae7e925ff350e69e2108fe8a2e67a9aa3d
Author: Vivien Malerba <malerba gnome-db org>
Date:   Mon Jun 8 20:17:07 2009 +0200

    Gda-SQL: corrected previously introduced bug
    
    in the dictionary file name computation (the bug was
    introduced from the development branches)
---
 tools/gda-sql.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/tools/gda-sql.c b/tools/gda-sql.c
index 698191e..ba80235 100644
--- a/tools/gda-sql.c
+++ b/tools/gda-sql.c
@@ -1361,13 +1361,6 @@ open_connection (SqlConsole *console, const gchar *cnc_name, const gchar *cnc_st
 	g_free (real_auth_string);
 
 	if (newcnc) {
-		gchar *dict_file_name = NULL;
-		gchar *cnc_string;
-		g_object_get (G_OBJECT (newcnc),
-			      "cnc-string", &cnc_string, NULL);
-		dict_file_name = compute_dict_file_name (info, cnc_string);
-		g_free (cnc_string);
-
 		cs = g_new0 (ConnectionSetting, 1);
 		if (cnc_name && *cnc_name) 
 			cs->name = g_strdup (cnc_name);
@@ -1460,7 +1453,6 @@ open_connection (SqlConsole *console, const gchar *cnc_name, const gchar *cnc_st
 		}
 		if (store)
 			g_object_unref (store);
-		g_free (dict_file_name);
 	}
 
 	return cs;



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