2001-11-10 Mike Kestner <mkestner@speakeasy.net>
* codegen/defs-parse.pl : Fix String prop generation code. * gtk/Window.custom : Fix ctor param casting error. svn path=/trunk/gtk-sharp/; revision=1319
This commit is contained in:
parent
c9a40e80bc
commit
2af291dc52
3 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2001-11-09 Mike Kestner <mkestner@speakeasy.net>
|
||||||
|
|
||||||
|
* codegen/defs-parse.pl : Fix String prop generation code.
|
||||||
|
* gtk/Window.custom : Fix ctor param casting error.
|
||||||
|
|
||||||
2001-11-09 Mike Kestner <mkestner@speakeasy.net>
|
2001-11-09 Mike Kestner <mkestner@speakeasy.net>
|
||||||
|
|
||||||
* codegen/defs-parse.pl : Use the @ctors list to determine if a class
|
* codegen/defs-parse.pl : Use the @ctors list to determine if a class
|
||||||
|
|
|
@ -302,6 +302,8 @@ sub gen_prop ()
|
||||||
if (exists ($objects{$1}) || ($1 =~ /GObject/)) {
|
if (exists ($objects{$1}) || ($1 =~ /GObject/)) {
|
||||||
$sret = $maptypes{$1};
|
$sret = $maptypes{$1};
|
||||||
$mret = "GLib.Object";
|
$mret = "GLib.Object";
|
||||||
|
} elsif ($maptypes{$1} eq "String") {
|
||||||
|
$sret = $mret = "String";
|
||||||
} elsif (exists ($maptypes{$1})) {
|
} elsif (exists ($maptypes{$1})) {
|
||||||
$sret = $maptypes{$1};
|
$sret = $maptypes{$1};
|
||||||
$mret = $marshaltypes{$1};
|
$mret = $marshaltypes{$1};
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
public Window ()
|
public Window ()
|
||||||
{
|
{
|
||||||
RawObject = gtk_window_new (WindowType.Toplevel);
|
RawObject = gtk_window_new ((int)WindowType.Toplevel);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Add table
Reference in a new issue