Top
Best
New

Posted by MaximilianEmel 9/8/2025

Classic GTK1 GUI Library(gitlab.com)
140 points | 70 commentspage 2
dsijak 9/12/2025|
Ubuntu doesn’t ship libgtk1.2 anymore in standard repositories.
roschdal 9/12/2025||
GTK1 is the best GTK.
Western0 9/12/2025||
I like GTK but......

small example have error (memory leak) in valgrind

unwind 9/12/2025|
Without further detail, that's not very helpful.

GTK doesn't implement garbage collection, you need to clean up by destroying widgets and other resources that you have created. Of course, the operating system will free all resources used by your process when it ends, so that kind of final cleanup is often omitted (and even more so in example code).

1718627440 9/12/2025|||
GTK intentionally doesn't calls free, unless some debug symbol is called. This is to prevent trashing before exiting, but is annoying when targeting correctness.
Western0 9/13/2025|||
show me any example from oficial documentation gtk[1,2,3...] qt etc for no memory leak in valgrind
wer232essf 9/12/2025|
[dead]