2003-02-05 Rodrigo Moya <rodrigo@ximian.com>

* gda/Application.cs:
	* gnomedb/Application.cs: synced version number with its corresponding
	C library version.

svn path=/trunk/gtk-sharp/; revision=11248
This commit is contained in:
Rodrigo Moya 2003-02-05 18:52:45 +00:00
parent 66529e9602
commit 147f0bac8f
3 changed files with 14 additions and 4 deletions

View file

@ -1,3 +1,9 @@
2003-02-05 Rodrigo Moya <rodrigo@ximian.com>
* gda/Application.cs:
* gnomedb/Application.cs: synced version number with its corresponding
C library version.
2003-01-29 Duncan Mak <duncan@ximian.com>
* gtk/Window.custom: Add some overloads.

View file

@ -22,12 +22,14 @@ namespace Gda
public class Application
{
private const string VERSION = "0.10";
[DllImport("gda-2")]
static extern void gda_init (string app_id, string version, int nargs, string[] args);
public static void Init ()
{
gda_init ("Gda#", "0.4", 0, new string[0]);
gda_init ("Gda#", VERSION, 0, new string[0]);
}
public static void Init (string app_id, string version)
@ -37,7 +39,7 @@ namespace Gda
public static void Init (string[] args)
{
gda_init ("Gda#", "0.4", args.Length, args);
gda_init ("Gda#", VERSION, args.Length, args);
}
public static void Init (string app_id, string version, string[] args)

View file

@ -22,12 +22,14 @@ namespace GnomeDb
public class Application
{
private const string VERSION = "0.10";
[DllImport("gnomedb-2")]
static extern void gnome_db_init (string app_id, string version, int nargs, IntPtr args);
public static void Init ()
{
gnome_db_init ("GnomeDb#", "0.4", 0, new IntPtr(0));
gnome_db_init ("GnomeDb#", VERSION, 0, new IntPtr(0));
}
public static void Init (string app_id, string version)
@ -40,7 +42,7 @@ namespace GnomeDb
public static void Init (ref string [] args)
{
int argc = args.Length;
gnome_db_init ("GnomeDb#", "0.4", ref argc, ref args);
gnome_db_init ("GnomeDb#", VERSION, ref argc, ref args);
}
public static void Init (string app_id, string version, ref string [] args)