mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-04-28 11:16:28 +00:00
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:
parent
66529e9602
commit
147f0bac8f
|
@ -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>
|
2003-01-29 Duncan Mak <duncan@ximian.com>
|
||||||
|
|
||||||
* gtk/Window.custom: Add some overloads.
|
* gtk/Window.custom: Add some overloads.
|
||||||
|
|
|
@ -22,12 +22,14 @@ namespace Gda
|
||||||
|
|
||||||
public class Application
|
public class Application
|
||||||
{
|
{
|
||||||
|
private const string VERSION = "0.10";
|
||||||
|
|
||||||
[DllImport("gda-2")]
|
[DllImport("gda-2")]
|
||||||
static extern void gda_init (string app_id, string version, int nargs, string[] args);
|
static extern void gda_init (string app_id, string version, int nargs, string[] args);
|
||||||
|
|
||||||
public static void Init ()
|
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)
|
public static void Init (string app_id, string version)
|
||||||
|
@ -37,7 +39,7 @@ namespace Gda
|
||||||
|
|
||||||
public static void Init (string[] args)
|
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)
|
public static void Init (string app_id, string version, string[] args)
|
||||||
|
|
|
@ -22,12 +22,14 @@ namespace GnomeDb
|
||||||
|
|
||||||
public class Application
|
public class Application
|
||||||
{
|
{
|
||||||
|
private const string VERSION = "0.10";
|
||||||
|
|
||||||
[DllImport("gnomedb-2")]
|
[DllImport("gnomedb-2")]
|
||||||
static extern void gnome_db_init (string app_id, string version, int nargs, IntPtr args);
|
static extern void gnome_db_init (string app_id, string version, int nargs, IntPtr args);
|
||||||
|
|
||||||
public static void Init ()
|
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)
|
public static void Init (string app_id, string version)
|
||||||
|
@ -40,7 +42,7 @@ namespace GnomeDb
|
||||||
public static void Init (ref string [] args)
|
public static void Init (ref string [] args)
|
||||||
{
|
{
|
||||||
int argc = args.Length;
|
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)
|
public static void Init (string app_id, string version, ref string [] args)
|
||||||
|
|
Loading…
Reference in a new issue