aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-12 19:10:48 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-12 19:11:00 +0100
commit1830c84a2b95ca4b840a65317e75a609b33c3512 (patch)
treee8a837eac2c3494d467731f0a962a92bc3364bfd /src/utils.h
parent4774ba8cbe14396cc653a4370cb9a49905efb3ff (diff)
downloadayatana-indicator-power-1830c84a2b95ca4b840a65317e75a609b33c3512.tar.gz
ayatana-indicator-power-1830c84a2b95ca4b840a65317e75a609b33c3512.tar.bz2
ayatana-indicator-power-1830c84a2b95ca4b840a65317e75a609b33c3512.zip
src/utils.(c|h): Port is_{mate,gnome,unity}() functions from -session indicator.
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h
index 744536c..665008e 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -23,4 +23,8 @@
void execute_command (const gchar * cmd);
void utils_handle_settings_request(void);
+gboolean is_unity();
+gboolean is_gnome();
+gboolean is_mate();
+
#endif /* __INDICATOR_POWER_UTILS_H__ */