[libgda] GI now depends on 1.31.10 and fixes on Bug 667837



commit 1465786c8abd8541be80085d8585faeb487b1a26
Author: Daniel Espinosa <despinosa src gnome org>
Date:   Mon Jan 23 17:11:40 2012 -0600

    GI now depends on 1.31.10 and fixes on Bug 667837

 configure.ac            |    2 +-
 libgda/Gda-5.0.gir      |   12 ++++++------
 libgda/Gda-5.0.metadata |    3 ---
 libgda/libgda-5.0.vapi  |    4 ++--
 4 files changed, 9 insertions(+), 12 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 1a44458..3f3d209 100644
--- a/configure.ac
+++ b/configure.ac
@@ -415,7 +415,7 @@ AC_SUBST(JSON_GLIB_LIBS)
 dnl *********************************
 dnl Check for GObject Introspection
 dnl *********************************
-GOBJECT_INTROSPECTION_CHECK([0.10.0])
+GOBJECT_INTROSPECTION_CHECK([1.31.10])
 AC_ARG_ENABLE([gda-gi],
     AS_HELP_STRING([--enable-gda-gi], [Enable GObject Introspection for libgda [default=auto]]),
     [enable_gda_gi=$enableval],[enable_gda_gi=auto])
diff --git a/libgda/Gda-5.0.gir b/libgda/Gda-5.0.gir
index 47f6fdc..63ef530 100644
--- a/libgda/Gda-5.0.gir
+++ b/libgda/Gda-5.0.gir
@@ -7648,12 +7648,7 @@ still forming a valid SQL syntax).</doc>
            glib:get-type="gda_data_proxy_get_type"
            glib:type-struct="DataProxyClass">
       <implements name="DataModel"/>
-      <function name="error_quark" c:identifier="gda_data_proxy_error_quark">
-        <return-value transfer-ownership="none">
-          <type name="GLib.Quark" c:type="GQuark"/>
-        </return-value>
-      </function>
-      <function name="new" c:identifier="gda_data_proxy_new">
+      <constructor name="new" c:identifier="gda_data_proxy_new">
         <doc xml:whitespace="preserve">Creates a new proxy for @model</doc>
         <return-value transfer-ownership="full">
           <doc xml:whitespace="preserve">a new #GdaDataProxy object</doc>
@@ -7665,6 +7660,11 @@ still forming a valid SQL syntax).</doc>
             <type name="DataModel" c:type="GdaDataModel*"/>
           </parameter>
         </parameters>
+      </constructor>
+      <function name="error_quark" c:identifier="gda_data_proxy_error_quark">
+        <return-value transfer-ownership="none">
+          <type name="GLib.Quark" c:type="GQuark"/>
+        </return-value>
       </function>
       <virtual-method name="filter_changed">
         <return-value transfer-ownership="none">
diff --git a/libgda/Gda-5.0.metadata b/libgda/Gda-5.0.metadata
index f460715..d46ad56 100644
--- a/libgda/Gda-5.0.metadata
+++ b/libgda/Gda-5.0.metadata
@@ -44,6 +44,3 @@ Holder.get_value nullable=true
 Row.get_value nullable=true
 Numeric.get_string nullable=true
 //Numeric.number hidden=true
-// Set Gda.DataProxy() as default
-DataProxy.new skip=true
-
diff --git a/libgda/libgda-5.0.vapi b/libgda/libgda-5.0.vapi
index ff721ab..37234ce 100644
--- a/libgda/libgda-5.0.vapi
+++ b/libgda/libgda-5.0.vapi
@@ -332,8 +332,8 @@ namespace Gda {
 	}
 	[CCode (cheader_filename = "libgda/libgda.h")]
 	public class DataProxy : GLib.Object, Gda.DataModel, Gda.DataModel {
-		[CCode (has_construct_function = false)]
-		protected DataProxy ();
+		[CCode (has_construct_function = false, type = "GObject*")]
+		public DataProxy (Gda.DataModel model);
 		public void alter_value_attributes (int proxy_row, int col, Gda.ValueAttribute alter_flags);
 		public bool apply_all_changes () throws GLib.Error;
 		public bool apply_row_changes (int proxy_row) throws GLib.Error;



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