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
|