code for demo dbus-glib