Re: some questions about gtksignal.c

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Can you post in non-HTML please ??

Thanks.

AlaiN.

Le Jeudi 5 Février 2004 05:53, xu victor a écrit :
xv> <html><div style='background-color:'><P>Hi all: <BR>I am a Newbie in GTK,
 i met some questions when I read the gdk. <BR>It is from gtksignal.c. </P>
 xv> <P><BR>1.I don't know what the <FONT
 color=#ff0000>_gtk_private_signals's </FONT>purpose ; </P> xv> <P>2.I've
 found that '<FONT color=#ff0000>_gtk_private_signals' </FONT>has been
 allocated some memory <BR>with g_realloc() and i can't&nbsp; find where it
 was freed?</P> xv> <P>Is there anybody can tell me? </P>
xv> <P>static GtkSignal*<BR>gtk_signal_next_and_invalidate
 (void)<BR>{<BR>&nbsp; static guint gtk_n_free_signals = 0;<BR>&nbsp;
 register GtkSignal *signal;<BR>&nbsp; register guint
 new_signal_id;<BR>&nbsp;
 <BR>&nbsp;..............<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT color=#ff0000>_gtk_private_signals
 </FONT>= g_realloc (_gtk_private_signals,
 size);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 gtk_n_free_signals = size / sizeof (GtkSignal) -
 _gtk_private_n_signals;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; memset (_gtk_private_signals +
 _gtk_private_n_signals, 0, gtk_n_free_signals * sizeof
 (GtkSignal));<BR>&nbsp;&nbsp;&nbsp;
 }<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;.............&nbsp;<BR>&nbsp; return
 signal;<BR>}<BR></P> xv> <P><IMG height=19
 src="http://graphics.hotmail.com/i.p.emcool.gif"; width=19>&nbsp;&nbsp;<FONT
 face="Lucida Handwriting, Cursive">i am victor,thank you!&nbsp;</FONT><FONT
 face=Wingdings>111</FONT><FONT face=Webdings>11</FONT></P></div><br
 clear=all><hr>使用世界上最大的电子邮件系统―   <a
 href="http://g.msn.com/8HMBCNCN/2755??PS=";>MSN Hotmail </a> </html> xv>
 _______________________________________________
xv> 
xv> gtk-list@xxxxxxxxx
xv> http://mail.gnome.org/mailman/listinfo/gtk-list
xv>
xv>

- -- 

AlaiN.
- -- PGP Public Key ID: 0x74279229 --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAIqdpX4L/wnQnkikRAmB0AKDA41Kxp0rc9IgsB+5FQPlOgjUZcQCeNZG4
X1BEeHxDKPyJD0JE3bxIK14=
=ZxNG
-----END PGP SIGNATURE-----

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux