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
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: