summaryrefslogtreecommitdiff
path: root/src/gpm-backlight.h
diff options
context:
space:
mode:
authormbkma <[email protected]>2026-03-15 11:12:12 +0100
committermbkma <[email protected]>2026-03-15 11:12:12 +0100
commit9d059b845030aaf2f8d374528ef666a8d274db9a (patch)
treef19e1f18ebb69cb190f709c2780959dbb55cd9ba /src/gpm-backlight.h
parent239eecf1017a480b4f3abb1db6c8742d820ece12 (diff)
downloadmate-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.h4
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,