Re: [Gtk2forpascal-devel] wrong amount of parameters specified
Brought to you by:
mgaertner
From: Mattias G. <nc-...@ne...> - 2002-07-15 16:04:50
|
On Mon, 15 Jul 2002 16:06:46 +0200 "Olaf Leidinger" <le...@ne...> wrote: > I'm working on some GTK2-examples (for testing the units). > While porting the "GTK-Demo" (included in the gtk2-source) I came across a > problem: > > When compiling the following line the compiler complains with "wrong amount > of parameters specified." > > model := gtk_tree_store_new (NUM_COLUMNS, G_TYPE_STRING, > G_TYPE_STRING, G_TYPE_POINTER, > G_TYPE_BOOLEAN); You missed the [] for the array of const: model := gtk_tree_store_new (NUM_COLUMNS, [G_TYPE_STRING, G_TYPE_STRING, G_TYPE_POINTER, G_TYPE_BOOLEAN]); Mattias |