projects
/
psensor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
enable gnome-autostart if the desktop file is in autostart dir but the entry turned off
[psensor.git]
/
src
/
pxdg.h
diff --git
a/src/pxdg.h
b/src/pxdg.h
index
82abc44
..
78aa571
100644
(file)
--- a/
src/pxdg.h
+++ b/
src/pxdg.h
@@
-19,7
+19,13
@@
#ifndef _PXDG_H_
#define _PXDG_H_
#ifndef _PXDG_H_
#define _PXDG_H_
-unsigned int pxdg_is_autostarted();
+/*
+ * returns:
+ * - 1 if psensor is currently launch during session startup.
+ * - 0 if psensor is not currently launch during session startup.
+ * - -1 if it cannot be determined.
+ */
+int pxdg_is_autostarted();
void pxdg_set_autostart(unsigned int);
#endif
void pxdg_set_autostart(unsigned int);
#endif