Commit Graph

5 Commits

Author SHA1 Message Date
Dan Winship
3bfb163a74 all: consistently include config.h
config.h should be included from every .c file, and it should be
included before any other include. Fix that.

(As a side effect of how I did this, this also changes us to
consistently use "config.h" rather than <config.h>. To the extent that
it matters [which is not much], quotes are more correct anyway, since
we're talking about a file in our own build tree, not a system
include.)
2014-11-13 17:18:42 -05:00
Dan Winship
37b8983c39 core: make NMSessionMonitor non-refcounted
and ensure that main() frees the singleton before exiting
2013-12-03 16:39:37 -05:00
Benjamin Franzke
c24c4d489f core: fix undefined reference to assert in session-monitor-{systemd, null}
assert.h is not included, that results in an undefined
reference to assert, just use g_assert instead.
2012-02-09 10:48:20 -06:00
Thomas Bechtold
49106d8845 core: fix singleton handling in NULL/systemd session monitor 2012-02-07 13:42:18 +01:00
Dan Williams
20035ad443 core: add NULL session monitor
Allows all access; used when neither ConsoleKit or systemd are
selected.
2012-02-01 16:50:44 -06:00