gtk2: add related objects inforamtion into error messsage