[libgda] gda-pivot: fix warnings



commit 29576e4cbb8e5a8ec20fea91e075d83afdb19f64
Author: Daniel Espinosa <esodan gmail com>
Date:   Tue Sep 11 08:51:13 2018 -0500

    gda-pivot: fix warnings

 libgda/gda-data-pivot.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/libgda/gda-data-pivot.c b/libgda/gda-data-pivot.c
index d4bb56c19..86d89aaf4 100644
--- a/libgda/gda-data-pivot.c
+++ b/libgda/gda-data-pivot.c
@@ -95,7 +95,6 @@ static void gda_data_pivot_class_init (GdaDataPivotClass *klass);
 static void gda_data_pivot_init       (GdaDataPivot *model,
                                              GdaDataPivotClass *klass);
 static void gda_data_pivot_dispose    (GObject *object);
-static void gda_data_pivot_finalize   (GObject *object);
 
 static void gda_data_pivot_set_property (GObject *object,
                                         guint param_id,
@@ -360,7 +359,7 @@ gda_data_pivot_get_property (GObject *object,
        GdaDataPivot *model;
 
        model = GDA_DATA_PIVOT (object);
-       GdaDataPivotPrivate *priv = gda_data_pivot_get_instance_private (object);
+       GdaDataPivotPrivate *priv = gda_data_pivot_get_instance_private (model);
        switch (param_id) {
        case PROP_MODEL:
                g_value_set_object (value, G_OBJECT (priv->model));


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