[planner: 10/40] too many arguments to function 'gda_init'.




commit 1c3963e7fc2dac5804dbd0ce15c5cec9c4bc3659
Author: Ahmed Baïzid <ahmed baizid org>
Date:   Wed Jun 17 18:36:00 2015 +0200

    too many arguments to function 'gda_init'.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=584556

 libplanner/mrp-sql.c     | 2 +-
 src/planner-sql-plugin.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libplanner/mrp-sql.c b/libplanner/mrp-sql.c
index 12f02677..d3d36f5c 100644
--- a/libplanner/mrp-sql.c
+++ b/libplanner/mrp-sql.c
@@ -490,7 +490,7 @@ get_hash_data_as_id (GHashTable *hash, gpointer key)
 void
 mrp_sql_init (void)
 {
-       gda_init (PACKAGE, VERSION, 0, NULL);
+       gda_init ();
 }
 
 /*************************
diff --git a/src/planner-sql-plugin.c b/src/planner-sql-plugin.c
index a5510b39..254cb854 100644
--- a/src/planner-sql-plugin.c
+++ b/src/planner-sql-plugin.c
@@ -1242,7 +1242,7 @@ plugin_init (PlannerPlugin *plugin)
        priv = g_new0 (PlannerPluginPriv, 1);
        plugin->priv = priv;
 
-       gda_init (PACKAGE, VERSION, 0, NULL);
+       gda_init ();
 
        g_object_set_data (G_OBJECT (plugin->main_window),
                           PROJECT_ID,


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