[libgda] Correct meta-store sample code in the documentation.



commit faf2220e86f649498dd516f1bd1ea824739e85e5
Author: Bas Driessen <bas driessen xobas com>
Date:   Tue Aug 18 20:41:11 2009 +1000

    Correct meta-store sample code in the documentation.

 doc/C/howto.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/doc/C/howto.xml b/doc/C/howto.xml
index f4e586b..3ab5499 100644
--- a/doc/C/howto.xml
+++ b/doc/C/howto.xml
@@ -394,11 +394,11 @@ if (!gda_connection_update_meta_store (cnc, NULL, &amp;error)) {
     /* there was an error */
     return;
 }
-mstruct = gda_meta_struct_new (GDA_META_STRUCT_FEATURE_NONE);
+mstruct = gda_meta_struct_new (store, GDA_META_STRUCT_FEATURE_NONE);
 table_name = gda_value_new (G_TYPE_STRING);
 g_value_set_string (value, "customers");
-dbo = gda_meta_struct_complement (mstruct, gda_connection_get_meta_store (cnc),
-                                  GDA_META_DB_TABLE, NULL, NULL, 
+dbo = gda_meta_struct_complement (mstruct, GDA_META_DB_TABLE,
+                                  NULL, NULL, 
                                   table_name, &amp;error);
 gda_value_free (table_name);
 if (dbo) {



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