factor out prepare_core_and_claim()
factor out prepare_core_and_claim()

Distrotech/telepathy-glib,Distrotech/telepathy-glib,Distrotech/telepathy-glib,Distrotech/telepathy-glib,Distrotech/telepathy-glib