gitk crashes gitk on event ON_CHANGED and relayout
Status: Alpha
Brought to you by:
ensonic
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?!