summaryrefslogtreecommitdiff
path: root/src/gpm-engine.h
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-07-10 17:43:40 +0200
committerraveit65 <[email protected]>2016-07-25 16:13:41 +0200
commit85afd16cee70390540d73e0b66999b0d859d299e (patch)
tree97d2571ee1ff6d1bdc77c6dcc3da0c438bd6c093 /src/gpm-engine.h
parentab62a95bb36351eb67638a992bfc57aff3deda87 (diff)
downloadmate-power-manager-85afd16cee70390540d73e0b66999b0d859d299e.tar.bz2
mate-power-manager-85afd16cee70390540d73e0b66999b0d859d299e.tar.xz
Show the primary device time remaining as the first entry in the context menu
taken from: https://git.gnome.org/browse/gnome-power-manager/commit/?id=93da9b4
Diffstat (limited to 'src/gpm-engine.h')
-rw-r--r--src/gpm-engine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpm-engine.h b/src/gpm-engine.h
index 484b3f2..8dbefbc 100644
--- a/src/gpm-engine.h
+++ b/src/gpm-engine.h
@@ -69,6 +69,7 @@ GpmEngine *gpm_engine_new (void);
gchar *gpm_engine_get_icon (GpmEngine *engine);
gchar *gpm_engine_get_summary (GpmEngine *engine);
GPtrArray *gpm_engine_get_devices (GpmEngine *engine);
+UpDevice *gpm_engine_get_primary_device (GpmEngine *engine);
G_END_DECLS