[libgda: 8/15] Fixing incorect implementation of finalize method



commit efc885bb5e1f2eb5e929c3eb3d2ad54b0a6e6450
Author: Pavlo Solntsev <p sun fun gmail com>
Date:   Wed Jan 2 22:25:54 2019 -0600

    Fixing incorect implementation of finalize method

 libgda/gda-sql-builder.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/libgda/gda-sql-builder.c b/libgda/gda-sql-builder.c
index ddc022a25..d99f841c9 100644
--- a/libgda/gda-sql-builder.c
+++ b/libgda/gda-sql-builder.c
@@ -30,7 +30,7 @@
 #include <libgda/gda-sql-builder.h>
 #include <libgda/gda-statement.h>
 #include <libgda/gda-data-handler.h>
-#include <sql-parser/gda-sql-parser-enum-types.h>
+#include <libgda/sql-parser/gda-sql-parser-enum-types.h>
 #include <libgda/gda-debug-macros.h>
 
 /*
@@ -38,7 +38,6 @@
  */
 static void gda_sql_builder_class_init (GdaSqlBuilderClass *klass);
 static void gda_sql_builder_init (GdaSqlBuilder *builder);
-static void gda_sql_builder_dispose (GObject *object);
 static void gda_sql_builder_finalize (GObject *object);
 
 static void gda_sql_builder_set_property (GObject *object,
@@ -164,7 +163,7 @@ gda_sql_builder_finalize (GObject *object)
     }
 
   /* parent class */
-  G_OBJECT_CLASS(gda_sql_builder_parent_class)->dispose (object);
+  G_OBJECT_CLASS(gda_sql_builder_parent_class)->finalize(object);
 }
 
 static void


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