Il 28/06/2012 19:42, Axel FILMORE ha scritto:
> Le 28/06/2012 19:11, Stephen Smally a écrit :
>> Thank for the explanation, PcMan. Can i ask you how do i free an
>> GAppInfo? i tried with g_free and it crash...
>
> g_object_unref (appinfo);
>
> An example:
> http://svn.netlabs.org/repos/ports/glib/trunk/gio/tests/appinfo.c
>
> GAppInfo *appinfo;
>
> appinfo = (GAppInfo*)g_desktop_app_info_new_from_filename (SRCDIR
> "/appinfo-test.desktop");
>
> g_object_unref (appinfo);
>
> ;)
>

well, i tried with it too, but it crash anyway... i'll re try


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to