Calling gtk_notebook_get_menu_label_text () in a for loop



Hi,

I'm in need of calling gtk_notebook_get_menu_label_text() in a for loop to know if an archive is already open in a page. Each menu label page does contain the archive name. Since from the doc I read "the string is owned by the widget and must not be freed" will I produce
memory leaks if I call gtk_notebook_get_menu_label_text() repeatedly?

--
Colossus
Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.xfce.org
Xscreencast, a DE independent desktop session recorder - http://xscreencast.berlios.de
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]