[libgda] gda-xa-transaction: fix private initialization



commit f5c7825a2daead4efc3a1696d8c8f7b3e912fa1b
Author: Daniel Espinosa <esodan gmail com>
Date:   Tue Sep 11 08:48:09 2018 -0500

    gda-xa-transaction: fix private initialization

 libgda/gda-xa-transaction.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgda/gda-xa-transaction.c b/libgda/gda-xa-transaction.c
index 182b2fb82..fb2f1cec4 100644
--- a/libgda/gda-xa-transaction.c
+++ b/libgda/gda-xa-transaction.c
@@ -142,9 +142,9 @@ gda_xa_transaction_set_property (GObject *object,
                                 GParamSpec *pspec)
 {
         GdaXaTransaction *xa_trans;
-        GdaXaTransactionPrivate *priv = gda_xa_transaction_get_instance_private (xa_trans);
 
         xa_trans = GDA_XA_TRANSACTION (object);
+        GdaXaTransactionPrivate *priv = gda_xa_transaction_get_instance_private (xa_trans);
         if (priv) {
                 switch (param_id) {
                 case PROP_FORMAT_ID:


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