NetworkManager/src/settings
Thomas Haller f4bf50bf4a core: declare nm_inotify_helper_get() using NM_DEFINE_SINGLETON_GETTER()
Refactor NMInotifyHelper to implement the singleton getter using
NM_DEFINE_SINGLETON_GETTER().

For one this means that the getter no longer increments the reference
count. This was anyway wrong, because no caller of nm_inotify_helper_get()
unrefered the returned reference, hence leaking the singleton.

Also, the getter can no longer fail to create the singleton instance.
Note that none of the callers actually coped with a failure to get
the singleton.
Instead return an instance that does nothing.
One downside (upside?) of this is that we only try once to initialize
the inotify handle.
2015-01-12 12:10:03 +01:00
..
plugins ifcfg-rh: support ipvx.route-metric property as IPVX_ROUTE_METRIC 2015-01-10 21:10:52 +01:00
nm-agent-manager.c auth: remove session monitor argument 2015-01-05 18:38:44 +01:00
nm-agent-manager.h libnm-core, settings: move NMAgentManagerError to nm-errors 2014-10-22 08:29:09 -04:00
nm-inotify-helper.c core: declare nm_inotify_helper_get() using NM_DEFINE_SINGLETON_GETTER() 2015-01-12 12:10:03 +01:00
nm-inotify-helper.h settings: add note about killing inotify helper (bgo #532815) 2013-01-11 13:02:12 -06:00
nm-secret-agent.c agent-manager: don't ever fail the secrets requests from GetSecrets() 2014-12-11 11:15:53 +01:00
nm-secret-agent.h all: remove a bunch of unnecessary dbus/dbus-glib includes 2014-09-03 10:45:24 -04:00
nm-settings-connection.c core: allow connections to participate in NMManager:startup-complete 2015-01-09 09:45:25 -05:00
nm-settings-connection.h core: allow connections to participate in NMManager:startup-complete 2015-01-09 09:45:25 -05:00
nm-settings.c core: allow connections to participate in NMManager:startup-complete 2015-01-09 09:45:25 -05:00
nm-settings.h core: allow connections to participate in NMManager:startup-complete 2015-01-09 09:45:25 -05:00
nm-system-config-interface.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-system-config-interface.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00