Hi All,
I am creating a actor like this :
ClutterActor *ptr=clutter_texture_new_from_pixbuf(pixbuf);
.
.
.
after some time I am doing :
ptr=clutter_texture_new_from_pixbuf(pixbuf1);
is this correct ? who is responsible to free old memory and if my app
itself is responsible, can I use free or g_object_unref()
Regards,
Harish Haswani,
LJ-P2P, GRAPHICS, MME Group, MIEL, Bangalore, INDIA
Ph: 91-80-26014164
------_=_NextPart_001_01C8CD3D.29F2093D
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3314" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=840210310-13062008><FONT face="Courier New" color=#000080
size=2>Hi All,</FONT></SPAN></DIV>
<DIV><SPAN class=840210310-13062008><FONT face="Courier New" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=840210310-13062008><FONT face="Courier New" color=#000080
size=2>I am creating a actor like this : </FONT></SPAN></DIV>
<DIV><SPAN class=840210310-13062008><FONT face="Courier New" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=840210310-13062008><FONT face="Courier New" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=840210310-13062008><FONT face="Courier New" color=#000080
size=2>ClutterActor
*ptr=clutter_texture_new_from_pixbuf(pixbuf);</FONT></SPAN></DIV>
<DIV><SPAN class=840210310-13062008><FONT face="Courier New" color=#000080
size=2>.</FONT></SPAN></DIV>
<DIV><SPAN class=840210310-13062008><FONT face="Courier New" color=#000080
size=2>.</FONT></SPAN></DIV>
<DIV><SPAN class=840210310-13062008><FONT face="Courier New" color=#000080
size=2>.</FONT></SPAN></DIV>
<DIV><SPAN class=840210310-13062008><FONT face="Courier New" color=#000080
size=2>after some time I am doing : </FONT></SPAN></DIV>
<DIV><SPAN class=840210310-13062008><FONT face="Courier New" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=840210310-13062008><FONT face="Courier New" color=#000080
size=2>ptr=clutter_texture_new_from_pixbuf(pixbuf1);</FONT></SPAN></DIV>
<DIV><SPAN class=840210310-13062008><FONT face="Courier New" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=840210310-13062008><FONT face="Courier New" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=840210310-13062008><FONT face="Courier New" color=#000080
size=2>is this correct ? who is responsible to free old memory and if my app
itself is responsible, can I use free or g_object_unref()</FONT></SPAN></DIV>
<DIV><SPAN class=840210310-13062008><FONT face="Courier New" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=840210310-13062008></SPAN> </DIV>
<DIV> </DIV>
<DIV align=left><FONT face="Courier New" color=#000080 size=2>Regards,<BR>Harish
Haswani,<BR>LJ-P2P, GRAPHICS, MME Group, MIEL, Bangalore, INDIA<BR>Ph:
91-80-26014164</FONT></DIV>
<DIV> </DIV></BODY></HTML>
------_=_NextPart_001_01C8CD3D.29F2093D--
-- To unsubscribe send a mail to clutter+unsubscribe_at_o-hand.comReceived on Fri Jun 13 2008 - 06:06:35 EDT
This archive was generated by hypermail 2.2.0 : Fri Jun 13 2008 - 07:00:36 EDT