addig glib to  signal event