void gcal_shell_search_provider_dbus_unexport (GcalShellSearchProvider *search_provider, GDBusConnection *connection, const gchar *object_path) { GcalShellSearchProviderPrivate *priv = GCAL_SHELL_SEARCH_PROVIDER (search_provider)->priv; if (g_dbus_interface_skeleton_has_connection (G_DBUS_INTERFACE_SKELETON (priv->skel), connection)) g_dbus_interface_skeleton_unexport_from_connection (G_DBUS_INTERFACE_SKELETON (priv->skel), connection); }
static void cleanup_singleton (gpointer user_data) { GkdExportedDaemon *skeleton = user_data; g_return_if_fail (dbus_conn); if (object_registered) { g_dbus_interface_skeleton_unexport_from_connection (G_DBUS_INTERFACE_SKELETON (skeleton), dbus_conn); g_object_unref (skeleton); } object_registered = FALSE; }
static void photos_thumbnailer_dbus_unregister (GApplication *application, GDBusConnection *connection, const gchar *object_path) { PhotosThumbnailer *self = PHOTOS_THUMBNAILER (application); if (self->skeleton != NULL) { g_dbus_interface_skeleton_unexport_from_connection (G_DBUS_INTERFACE_SKELETON (self->skeleton), self->connection); g_clear_object (&self->skeleton); } G_APPLICATION_CLASS (photos_thumbnailer_parent_class)->dbus_unregister (application, connection, object_path); }
static void gom_application_dbus_unregister (GApplication *application, GDBusConnection *connection, const gchar *object_path) { GomApplication *self = GOM_APPLICATION (application); if (self->skeleton != NULL) { if (g_dbus_interface_skeleton_has_connection (G_DBUS_INTERFACE_SKELETON (self->skeleton), connection)) g_dbus_interface_skeleton_unexport_from_connection (G_DBUS_INTERFACE_SKELETON (self->skeleton), connection); } G_APPLICATION_CLASS (gom_application_parent_class)->dbus_unregister (application, connection, object_path); }