From: Andrea Zagli Date: Sun, 26 Jul 2009 10:07:57 +0000 (+0200) Subject: Fixed two functions not updated to libgda 4. X-Git-Tag: 0.1.0~5 X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=fd74d16cfc4349941cc9027c15b321854d6b79e2;p=libgdaex Fixed two functions not updated to libgda 4. --- diff --git a/src/gdaex.c b/src/gdaex.c index 897a8de..7d4bdfe 100644 --- a/src/gdaex.c +++ b/src/gdaex.c @@ -189,7 +189,7 @@ GdaEx GdaEx *gdaex; GdaExPrivate *priv; - g_return_val_if_fail (IS_GDA_CONNECTION (conn), NULL); + g_return_val_if_fail (GDA_IS_CONNECTION (conn), NULL); gdaex = gdaex_new_ (); @@ -906,7 +906,7 @@ gdaex_free (GdaEx *gdaex) GdaExPrivate *priv = GDAEX_GET_PRIVATE (gdaex); /* close connection */ - if (gda_connection_is_open (priv->gda_conn)) + if (gda_connection_is_opened (priv->gda_conn)) { gda_connection_close (priv->gda_conn); }