fixing gtk3agg error in examples