sample: Fix GtkDemo/DemoImages progressive update with recent gtk+