Most memory leaks in GTK are not memory leaks. People write about once every two months that they've found one, without really understanding how GTK (and more importantly, glib) uses memory.
If you want people to respond sensibly/usefully to such things, then you need to start by describing what tools you've used to identify the "memory leak". On Mon, Oct 19, 2015 at 12:20 PM, rolozanop <rolozanop@xxxxxxxxxxx> wrote:
Could someone please tell me why modify_bg give me memory leaks and how to
resolve it?
Gdk::Color colorSelected;
colorSelected.set("orange");
m_buttonsGTK[E_BUTTON_LEVEL]->modify_bg(Gtk::STATE_NORMAL, colorSelected);
Thanks.
--
View this message in context: http://gtk.10911.n7.nabble.com/memory-leak-on-modify-bg-fuction-tp88346.html
Sent from the Gtk+ - General mailing list archive at Nabble.com.
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list