<DIV>Actually, I don't know why callbacks are declared static.&nbsp; Are there any online resources that I can use to find additional information regarding this?&nbsp; Thanks.<BR><BR><B><I>Mathrick &lt;mnews2@wp.pl&gt;</I></B> wrote:
<BLOCKQUOTE class=replbq style="BORDER-LEFT: #1010ff 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">W liście z pią, 09-01-2004, godz. 18:00, Quan Nguyen pisze: <BR>&gt; Thanks a bunch! It works. The reason I used static void was because<BR>&gt; the sample code I got from this mailing list was written that way. <BR>&gt; I'm not sure why it's like that either.<BR><BR>Glad to help. There is nothing wrong in declaring static, it's even<BR>recommended for your app's internal functions, as long as you know why<BR>it's declared that way. Otherwise, you may end up debugging strange<BR>linking errors for no apparent reason ;). I suppose it was meant that<BR>way in original code, also function's name (cb_manipulate) is typical<BR>for app's callbacks - begins with cb_ and has no "namespace" prefix. You<BR>may know all that already, but in case not, it's useful as these are<BR>conventions used commonly in Glib/GTK world.<BR><BR>-- <BR>"Tautologizm to coś tautologicznego"<BR>Maciej Katafiasz
 <MNEWS2@WP.PL><BR>http://mathrick.blog.pl<BR></BLOCKQUOTE></DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
Yahoo! Hotjobs: <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/hotjobs/mail_footer_email/evt=21482/*http://hotjobs.sweepstakes.yahoo.com/signingbonus">Enter the "Signing Bonus" Sweepstakes</a>