1 diff -urbB abiword-2.4.1.org/abiword-plugins/tools/gda/plugin.m4 abiword-2.4.1/abiword-plugins/tools/gda/plugin.m4
2 --- abiword-2.4.1.org/abiword-plugins/tools/gda/plugin.m4 2005-09-25 13:28:14.000000000 +0200
3 +++ abiword-2.4.1/abiword-plugins/tools/gda/plugin.m4 2005-10-24 22:22:34.922621500 +0200
5 # Checks for header files.
7 dnl only unix builds should need this stuff, so why...?
8 -PKG_CHECK_MODULES(_abi_gda,[libgda >= 1.2.0 libgnomedb >= 1.2.0],[
9 +PKG_CHECK_MODULES(_abi_gda,[libgda-2.0 >= 1.2.0 libgnomedb-2.0 >= 1.2.0],[
10 ABI_PLUGIN_REPORT([gda: okay])
11 ],[ ABI_PLUGIN_REPORT([gda: error - libgda and libgnomedb >= 1.2.0 required])
12 abi_plugin_disable=yes
13 diff -urbB abiword-2.4.1.org/abiword-plugins/tools/gda/unix/AbiGDA.cpp abiword-2.4.1/abiword-plugins/tools/gda/unix/AbiGDA.cpp
14 --- abiword-2.4.1.org/abiword-plugins/tools/gda/unix/AbiGDA.cpp 2005-01-12 18:54:57.000000000 +0100
15 +++ abiword-2.4.1/abiword-plugins/tools/gda/unix/AbiGDA.cpp 2005-10-24 22:20:32.000000000 +0200
18 g_free (editable_txt);
20 - cnc = gda_client_open_connection (connection_pool, dsn_name.utf8_str(), user_name.utf8_str(), password.utf8_str(), GDA_CONNECTION_OPTIONS_READ_ONLY);
21 + cnc = gda_client_open_connection (connection_pool, dsn_name.utf8_str(), user_name.utf8_str(), password.utf8_str(), GDA_CONNECTION_OPTIONS_READ_ONLY, 0);
22 if (!GDA_IS_CONNECTION (cnc))
26 cmd = gda_command_new (sql.utf8_str(), GDA_COMMAND_TYPE_SQL, (GdaCommandOptions)0);
27 - recset = gda_connection_execute_single_command (cnc, cmd, NULL);
28 + recset = gda_connection_execute_single_command (cnc, cmd, NULL, 0);
29 gda_command_free (cmd);
31 if (recset == NULL || !GDA_IS_DATA_MODEL (recset))