[maemo-developers] Where is the implementation of function hildon_home_window_get_type

From: Jussi Kukkonen jhkukkon at cc.hut.fi
Date: Fri Nov 23 09:15:07 EET 2007
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.html#G-DEFINE-TYPE:CAPS


 Jussi

More information about the maemo-developers mailing list