guile-gtk-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mismatch between <something> and <something*> ?


From: Neil Jerram
Subject: Re: Mismatch between <something> and <something*> ?
Date: Sat, 25 Mar 2006 13:55:26 +0000
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Neil Jerram <address@hidden> writes:

> Hello g-wrap/guile-gtk/guile-gnome hackers!  I've been trying to
> extend guile-gnome so that it wraps the Hildon API used on the Nokia
> 770 as well as all the usual Gnome/GTK APIs.  My build now appears to
> be completely successful, but when I try a simple Hello World app I
> get a runtime error.

 [...]

> ERROR: In set-appview:
> ERROR: wrong type arg in position 2: <<hildon-app-view> 0x34569348>
>
> Now the .def for the set-appview method says that its second parameter
> should be a <hildon-app-view*>, so it looks like the problem might be
> a mismatch between <hildon-app-view> and <hildon-app-view*> ...

For anyone following this: the problem was that HildonAppView was used
as a parameter in a (define-function ...) or (define-method ...)
before it had been defined as an object by (define-object ...).  I
just reordered the definitions, and the problem is solved.

Regards,
        Neil





reply via email to

[Prev in Thread] Current Thread [Next in Thread]