remove GTK1 support
refresh_xpm: set const
fix compiler warnings