Menu

#10 gitk crashes gitk on event ON_CHANGED and relayout

open
core (12)
6
2004-11-11
2004-11-11
No

Hi, the following approach crashes gitk. Open a dialog
and register a eventhandler on it to handle events of
type GITK_EVENT_TYPE_ON_CLICKED. Let this handler open
a new dialog (SHOW MODAL) and register another
eventhandler on it to handle events of types
GITK_EVENT_TYPE_ON_CLICKED and
GITK_EVENT_TYPE_ON_CHANGED. Let this handler perform
the following operations on the given dialog:

gitk_dialog_hide(dialog);
//gitk_dialog_invalidate(dialog);
gitk_dialog_show(dialog,1);

On event GITK_EVENT_TYPE_ON_CLICKED everything works
fine, but on event GITK_EVENT_TYPE_ON_CHANGED the
program crashes. Any idea why this happens?!

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.