Yes, that makes sense. All these functions are implemented by macros described by Jussi.
Thanks a lot! Best Regards Huang Gao -----邮件原件----- 发件人: Jussi Kukkonen [mailto:[EMAIL PROTECTED] 发送时间: 2007年11月23日 15:15 收件人: Huang Gao 抄送: maemo-developers@maemo.org 主题: Re: Where is the implementation of functionhildon_home_window_get_type Huang Gao wrote: > I am now looking into package Maemo-af-desktop, and some strange > points make me confused. For instance, hildon_home_window_get_type() > is declared as the object type of HOME_WINDOW: > > #define HILDON_TYPE_HOME_WINDOW > (hildon_home_window_get_type ()) > > However, this function is not implemented in this package, nor > can I find it in other any packages. > > Does anyone know what the mechanism behind this issue is? You'll probably find one of the G_DEFINE_* macros in the source file. That macro will expand to *_get_type() function. See GObject documentation: http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.htm l#G-DEFINE-TYPE:CAPS Jussi
_______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers