~vcs-imports/gnome-settings-daemon/+git/gnome-settings-daemon:master

Last commit made on 2024-05-03
Get this branch:
git clone -b master https://git.launchpad.net/~vcs-imports/gnome-settings-daemon/+git/gnome-settings-daemon

Branch merges

Branch information

Recent commits

1a4d50f... by Dudemanguy <email address hidden>

sharing: fix building without systemd

0bfc60813befb45e3dd4840795839806f5310e39 introduced a bunch of
systemd-specific stuff that broke building without systemd. Guard all of
the relevant things.

46f998d... by Nathaniel Russell <email address hidden>

build: Add elogind support

cb50a26... by Marek Kašík

printing: Clear members of GsdPrintNotificationsManager

Clear members of GsdPrintNotificationsManager in stop()
to not throw "Cancel-Subscription client-error-not-found" error
due to cancelling subscription twice.

addaf1e... by tasutlelli17

Update Kabyle translation

02b7cab... by Fabio Tomat <email address hidden>

Update Friulian translation

9a1c141... by Joan Torres <email address hidden>

sharing: Stop assigned services only when no network connection

This allows grd handover service to be started even with network access
through a mobile device or when the network access is from Wi-Fi.

d8937d2... by ButterflyOfFire

Add Kabyle translation

8ff4196... by Carlos Garnacho

Release 46.0

e7e4b8b... by Philip Withnall <email address hidden>

rfkill: Fix use of deprecated g_memdup()

It’s been deprecated in GLib 2.68 in favour of `g_memdup2()`, which uses
correct argument types so as not to silently cause an overflow during an
implicit integer size conversion.

The existing code was safe and correct: this commit just fixes the
deprecation warning.

Signed-off-by: Philip Withnall <email address hidden>

8993854... by Philip Withnall <email address hidden>

power: Fix exit status checking for the backlight helper program

`g_spawn_check_exit_status()` operates on a *wait status* rather than an
*exit status*. A wait status is what’s returned by `waitpid()`, and it’s
a platform-specific combination of bits indicating whether the program
exited gracefully, or crashed/signaled, and what value it returned
from `main()` (if any). An exit status is the value returned from
`main()` (so, zero for a successfully-exiting application).

`g_spawn_check_exit_status()` has been deprecated since GLib 2.70
because of its confusing naming.

`g_subprocess_get_exit_status()` returns an exit status (so is named
correctly), but we don’t actually have to use it because `GSubprocess`
already provides an API which combines `g_subprocess_wait_async()` and
`g_spawn_check_wait_status()`: `g_subprocess_wait_check_async()`.

So just use that instead. It’s been available since GLib 2.40.

Signed-off-by: Philip Withnall <email address hidden>