- Subject: [slang-users] Bugs in SLgtk functions
- From: Bernd Eggink <bernd.eggink@xxxxxxxxxx>
- Date: Mon, 13 Jan 2020 01:19:06 +0100
Happy New Year to everybody!
Is this list the right place to report SLgtk issues?
I found what I think are bugs in gtk_progress_bar_set_fraction() and in
gtk_progress_bar_pulse(). According to the GTK reference manual the GTK
functions are defined as
void gtk_progress_bar_set_fraction(...)
void gtk_progress_bar_pulse(...)
However, the SLgtk function gtk_progress_bar_set_fraction() leaves two
NULL values on the stack, and gtk_progress_bar_pulse() leaves one NULL
value. So, when these functions are called very often, the stack gets
quickly populated until a stack overflow occurs.
A simple workaround is to prefix the calls with ()=.
Greetings,
Bernd
--
http://www.sudrala.de
_______________________________________________
For list information, visit <http://jedsoft.org/slang/mailinglists.html>.
[2020 date index]
[2020 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]