summaryrefslogtreecommitdiff
path: root/src/egg-console-kit.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/egg-console-kit.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/egg-console-kit.h')
-rw-r--r--src/egg-console-kit.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/egg-console-kit.h b/src/egg-console-kit.h
index 0074d0c..b241517 100644
--- a/src/egg-console-kit.h
+++ b/src/egg-console-kit.h
@@ -53,8 +53,12 @@ typedef struct
GType egg_console_kit_get_type (void);
EggConsoleKit *egg_console_kit_new (void);
-gboolean egg_console_kit_is_local (EggConsoleKit *console);
-gboolean egg_console_kit_is_active (EggConsoleKit *console);
+gboolean egg_console_kit_is_local (EggConsoleKit *console,
+ gboolean *is_local,
+ GError **error);
+gboolean egg_console_kit_is_active (EggConsoleKit *console,
+ gboolean *is_active,
+ GError **error);
gboolean egg_console_kit_stop (EggConsoleKit *console,
GError **error);
gboolean egg_console_kit_restart (EggConsoleKit *console,