Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] GTK in CVS

Havoc Pennington <hp@xxxxxxxxxx> writes:
>             public int allow_shrink;
>             public int allow_grow;
>             public int auto_shrink;
>             public int handling_resize;

Since these flags are 1-bit fields in C, I don't even see how things
work right now...

        handle = OS.gtk_dialog_new();
        GtkDialog dialog = new GtkDialog();
        OS.memmove (dialog, handle, GtkDialog.sizeof);

So that has to result in bogus values in "dialog" right?

Havoc


Back to the top