GTK: Use accessor to retrieve GtkAdjustment value

This commit is contained in:
Emmanuel Gil Peyrot 2020-08-29 20:53:06 +02:00
parent 87c2377c6a
commit 89f5e50039
1 changed files with 1 additions and 1 deletions

View File

@ -2205,7 +2205,7 @@ static void EmulationSettingsDialog(){
}
static void JITMaxBlockSizeChanged(GtkAdjustment* adj,void * nullPtr){
config.jit_max_block_size=(int)adj->value;
config.jit_max_block_size=(int)gtk_adjustment_get_value(adj);
}
static void ToggleJIT(){