diff options
| author | mbkma <[email protected]> | 2026-03-15 11:12:12 +0100 |
|---|---|---|
| committer | mbkma <[email protected]> | 2026-03-15 11:12:12 +0100 |
| commit | 9d059b845030aaf2f8d374528ef666a8d274db9a (patch) | |
| tree | f19e1f18ebb69cb190f709c2780959dbb55cd9ba /src/gpm-backlight.h | |
| parent | 239eecf1017a480b4f3abb1db6c8742d820ece12 (diff) | |
| download | mate-power-manager-gdbus.tar.bz2 mate-power-manager-gdbus.tar.xz | |
migrate to gdbusgdbus
see https://github.com/GNOME/gnome-power-manager/commit/7568769f for a reference, though this is not a 1:1 copy
Diffstat (limited to 'src/gpm-backlight.h')
| -rw-r--r-- | src/gpm-backlight.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpm-backlight.h b/src/gpm-backlight.h index 17cb192..18b0df2 100644 --- a/src/gpm-backlight.h +++ b/src/gpm-backlight.h @@ -24,6 +24,7 @@ #ifndef __GPM_BACKLIGHT_H #define __GPM_BACKLIGHT_H +#include <gio/gio.h> #include <glib-object.h> G_BEGIN_DECLS @@ -60,6 +61,9 @@ typedef enum GType gpm_backlight_get_type (void); GQuark gpm_backlight_error_quark (void); GpmBacklight *gpm_backlight_new (void); +gboolean gpm_backlight_register_dbus (GpmBacklight *backlight, + GDBusConnection *connection, + GError **error); gboolean gpm_backlight_get_brightness (GpmBacklight *backlight, guint *brightness, |
