[Gtk2forpascal-devel] wrong amount of parameters specified
Brought to you by:
mgaertner
|
From: Olaf L. <le...@ne...> - 2002-07-15 14:07:34
|
Hi!
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);
When passing only one argument it works fine. But this function is
overloaded to accept an array of const.
What's wrong? I can't find any mistake - so I guess it's a problem of the
gtk2 unit.
Ciao,
Olaf
|