<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="chsdate"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:9.0pt;
        font-family:SimSun;}
/* Page Definitions */
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 126.65pt 72.0pt 126.65pt;
        layout-grid:15.6pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=ZH-CN link=blue vlink=purple style='text-justify-trim:punctuation'>
<div class=Section1 style='layout-grid:15.6pt'>
<p class=MsoPlainText><font size=3 color=navy face="Times New Roman"><span
lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman";color:navy'>Yes,
that makes sense. All these functions are implemented by macros described by Jussi.<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=3 color=navy face="Times New Roman"><span
lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman";color:navy'>Thanks
a lot!<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=3 color=navy face="Times New Roman"><span
lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman";color:navy'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=3 color=navy face="Times New Roman"><span
lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman";color:navy'>Best
Regards<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=3 color=navy face="Times New Roman"><span
lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman";color:navy'>Huang
Gao<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US
style='font-size:9.0pt'>-----</span>邮件原件<span
lang=EN-US>-----<br>
</span>发件人<span lang=EN-US>: Jussi Kukkonen
[mailto:jhkukkon@cc.hut.fi] <br>
</span>发送时间<span lang=EN-US>: <st1:chsdate
IsROCDate="False" IsLunarDate="False" Day="23" Month="11" Year="2007" w:st="on">2007<span
lang=EN-US><span lang=EN-US>年11</span></span><span lang=EN-US><span
lang=EN-US>月23</span></span><span lang=EN-US><span lang=EN-US>日</span></span></st1:chsdate>
15:15<br>
</span>收件人<span lang=EN-US>: Huang Gao<br>
</span>抄送<span lang=EN-US>: <st1:PersonName w:st="on">maemo-developers@maemo.org</st1:PersonName><br>
</span>主题<span lang=EN-US>: Re: Where is the implementation of
functionhildon_home_window_get_type</span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US
style='font-size:9.0pt'>Huang Gao wrote:<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US
style='font-size:9.0pt'>> I am now looking into package Maemo-af-desktop,
and some strange<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US
style='font-size:9.0pt'>> points make me confused. For instance,
hildon_home_window_get_type()<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US
style='font-size:9.0pt'>> is declared as the object type of HOME_WINDOW:<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US
style='font-size:9.0pt'>><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US
style='font-size:9.0pt'>> #define HILDON_TYPE_HOME_WINDOW<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US
style='font-size:9.0pt'>> (hildon_home_window_get_type ())<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US
style='font-size:9.0pt'>><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US
style='font-size:9.0pt'>> However, this function is not implemented in this
package, nor<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US
style='font-size:9.0pt'>> can I find it in other any packages.<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US
style='font-size:9.0pt'>><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US
style='font-size:9.0pt'>> Does anyone know what the mechanism behind this
issue is?<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US
style='font-size:9.0pt'>You'll probably find one of the G_DEFINE_* macros in
the source file.<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US
style='font-size:9.0pt'>That macro will expand to *_get_type() function.<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US
style='font-size:9.0pt'>See GObject documentation:<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US
style='font-size:9.0pt'>http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-DEFINE-TYPE:CAPS<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US
style='font-size:9.0pt'> Jussi<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=1 face=宋体><span lang=EN-US><o:p> </o:p></span></font></p>
</div>
</body>
</html>