mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
Remove assert that's firing; don't inval_all from util_yOffsetChange:
that blocks testing common inval code.
This commit is contained in:
parent
17993fea06
commit
4329fd6020
1 changed files with 3 additions and 5 deletions
|
@ -250,7 +250,7 @@ key_release_event( GtkWidget* XP_UNUSED(widget), GdkEventKey* event,
|
|||
}
|
||||
}
|
||||
|
||||
XP_ASSERT( globals->keyDown );
|
||||
/* XP_ASSERT( globals->keyDown ); */
|
||||
globals->keyDown = XP_FALSE;
|
||||
|
||||
return handled? 1 : 0; /* gtk will do something with the key if 0 returned */
|
||||
|
@ -1083,12 +1083,10 @@ gtk_util_trayHiddenChange( XW_UtilCtxt* uc, XW_TrayVisState XP_UNUSED(state),
|
|||
} /* gtk_util_trayHiddenChange */
|
||||
|
||||
static void
|
||||
gtk_util_yOffsetChange( XW_UtilCtxt* uc, XP_U16 XP_UNUSED(oldOffset),
|
||||
gtk_util_yOffsetChange( XW_UtilCtxt* XP_UNUSED(uc),
|
||||
XP_U16 XP_UNUSED(oldOffset),
|
||||
XP_U16 XP_UNUSED(newOffset) )
|
||||
{
|
||||
GtkAppGlobals* globals = (GtkAppGlobals*)uc->closure;
|
||||
board_invalAll( globals->cGlobals.game.board );
|
||||
/* board_draw( globals->board ); */
|
||||
} /* gtk_util_yOffsetChange */
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue