gtk_widget_get_snapshot
- From: "Lucas Hermann Negri" <kkndrox gmail com>
- To: gtk-list gnome org
- Subject: gtk_widget_get_snapshot
- Date: Sat, 6 Dec 2008 13:28:41 -0200
Hello,
gtk_widget_get_snapshot seems to leak some memory (or I'm doing it wrong).
I tested with:
for(;;)
{
GdkPixmap* pix = gtk_widget_get_snapshot(wdg, NULL);
g_object_unref(pix);
}
The memory grows forever! I'm missing something?
Thanks.
--
http://oproj.tuxfamily.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]