MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / ghb_check_send_to_available

Function ghb_check_send_to_available

gtk/src/callbacks.c:4483–4495  ·  view source on GitHub ↗

Disable flatpak-spawn option if the org.freedesktop.Flatpak bus name is unavailable

Source from the content-addressed store, hash-verified

4481
4482// Disable flatpak-spawn option if the org.freedesktop.Flatpak bus name is unavailable
4483void
4484ghb_check_send_to_available (void)
4485{
4486 if (g_access("/.flatpak-info", F_OK) == 0)
4487 {
4488 is_flatpak = TRUE;
4489 flatpak_spawn_watch_id = g_bus_watch_name(G_BUS_TYPE_SESSION, "org.freedesktop.Flatpak",
4490 G_BUS_NAME_WATCHER_FLAGS_NONE,
4491 (GBusNameAppearedCallback) flatpak_spawn_allowed,
4492 (GBusNameVanishedCallback) flatpak_spawn_disallowed,
4493 NULL, NULL);
4494 }
4495}
4496
4497static void
4498send_to_external_app(gint index, signal_user_data_t * ud)

Callers 1

_ghb_idle_ui_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected