[libgda/gtk3] Removed GDA_SQL_PARSER_TYPE_SQL_PARSER_* macros and gda_sql_error_type_get_type()



commit cdb12899c0c440a8f49e698e6181ff7b981936b9
Author: Vivien Malerba <malerba gnome-db org>
Date:   Tue Mar 1 20:50:16 2011 +0100

    Removed GDA_SQL_PARSER_TYPE_SQL_PARSER_* macros and gda_sql_error_type_get_type()

 libgda/gda-sql-builder.c                           |    2 +-
 libgda/libgda.symbols                              |    1 -
 libgda/sql-parser/Makefile.am                      |    5 +----
 .../sql-parser/gda-sql-parser-enum-types.c.KEEPAPI |    7 -------
 .../sql-parser/gda-sql-parser-enum-types.h.KEEPAPI |   19 -------------------
 5 files changed, 2 insertions(+), 32 deletions(-)
---
diff --git a/libgda/gda-sql-builder.c b/libgda/gda-sql-builder.c
index 986f1be..64e56c4 100644
--- a/libgda/gda-sql-builder.c
+++ b/libgda/gda-sql-builder.c
@@ -122,7 +122,7 @@ gda_sql_builder_class_init (GdaSqlBuilderClass *klass)
 	 */
 	g_object_class_install_property (object_class, PROP_TYPE,
 					 g_param_spec_enum ("stmt-type", NULL, "Statement Type",
-							    GDA_SQL_PARSER_TYPE_SQL_STATEMENT_TYPE,
+							    GDA_TYPE_SQL_STATEMENT_TYPE,
 							    GDA_SQL_STATEMENT_UNKNOWN,
 							    (G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)));
 }
diff --git a/libgda/libgda.symbols b/libgda/libgda.symbols
index c0fd0a3..60a7624 100644
--- a/libgda/libgda.symbols
+++ b/libgda/libgda.symbols
@@ -625,7 +625,6 @@
 	gda_sql_delimiterTrace
 	gda_sql_error_get_type
 	gda_sql_error_quark
-	gda_sql_error_type_get_type
 	gda_sql_expr_copy
 	gda_sql_expr_free
 	gda_sql_expr_get_type
diff --git a/libgda/sql-parser/Makefile.am b/libgda/sql-parser/Makefile.am
index 0932ec1..12aee64 100644
--- a/libgda/sql-parser/Makefile.am
+++ b/libgda/sql-parser/Makefile.am
@@ -50,7 +50,6 @@ s-enum-types-h: @REBUILD@ $(libgda_sql_parser_headers) Makefile
 		$(libgda_sql_parser_headers)) > tmp-gda-enum-types.h \
 	&& (cmp -s tmp-gda-enum-types.h gda-sql-parser-enum-types.h || cp tmp-gda-enum-types.h gda-sql-parser-enum-types.h ) \
 	&& rm -f tmp-gda-enum-types.h	\
-	&& cat $(srcdir)/gda-sql-parser-enum-types.h.KEEPAPI >> gda-sql-parser-enum-types.h \
 	&& echo timestamp > $(@F)
 
 gda-sql-parser-enum-types.c: s-enum-types-c
@@ -68,7 +67,6 @@ s-enum-types-c: @REBUILD@ $(libgda_sql_parser_headers) Makefile
 		$(libgda_sql_parser_headers)) > tmp-gda-enum-types.c \
 	&& (cmp -s tmp-gda-enum-types.c gda-sql-parser-enum-types.c || cp tmp-gda-enum-types.c gda-sql-parser-enum-types.c ) \
 	&& rm -f tmp-gda-enum-types.c \
-	&& cat $(srcdir)/gda-sql-parser-enum-types.c.KEEPAPI >> gda-sql-parser-enum-types.c \
 	&& echo timestamp > $(@F)
 
 # Generate the enums source code, with glib-mkenums:
@@ -103,8 +101,7 @@ libgda_sql_parser_5_0_la_SOURCES = \
         gda-statement-struct-unknown.c \
         gda-statement-struct-util.c
 
-EXTRA_DIST= parser.y delimiter.y lemon.c lempar.c gen_def.c parser_tokens.h \
-	gda-sql-parser-enum-types.c.KEEPAPI gda-sql-parser-enum-types.h.KEEPAPI
+EXTRA_DIST= parser.y delimiter.y lemon.c lempar.c gen_def.c parser_tokens.h
 
 CLEANFILES = parser.h parser.c parser.out delimiter.h delimiter.c delimiter.out token_types.h \
 	lemon$(EXEEXT_FOR_BUILD) gen_def$(EXEEXT_FOR_BUILD) \



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