initialize libdar inside gdk application