Web lists-archives.com

memory leak on modify_bg fuction




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