summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-05-23 16:14:47 +0200
committerThomas Haller <thaller@redhat.com>2014-05-26 11:10:09 +0200
commitddbec76485ba39e7e697f59307df0e2f5129e600 (patch)
treebbd50469e9841ae94b85d1356a73bf3cba186715
parent6fd9f3c887d4fcc127449b3b16930f7d01dae1c5 (diff)
downloadNetworkManager-ddbec76485ba39e7e697f59307df0e2f5129e600.tar.gz
trivial: whitespace fix
Signed-off-by: Thomas Haller <thaller@redhat.com>
-rw-r--r--src/nm-session-monitor.c6
-rw-r--r--src/nm-session-monitor.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/nm-session-monitor.c b/src/nm-session-monitor.c
index 38df258004..ad2be38c68 100644
--- a/src/nm-session-monitor.c
+++ b/src/nm-session-monitor.c
@@ -241,7 +241,7 @@ nm_session_monitor_init_systemd (NMSessionMonitor *monitor)
{
if (access("/run/systemd/seats/", F_OK) < 0)
return;
-
+
monitor->sd_source = sd_source_new ();
g_source_set_callback (monitor->sd_source, sessions_changed, monitor, NULL);
g_source_attach (monitor->sd_source, NULL);
@@ -252,7 +252,7 @@ nm_session_monitor_finalize_systemd (NMSessionMonitor *monitor)
{
if (!monitor->sd_source)
return;
-
+
g_source_destroy (monitor->sd_source);
g_source_unref (monitor->sd_source);
}
@@ -500,7 +500,7 @@ nm_session_monitor_init_consolekit (NMSessionMonitor *monitor)
/* Sessions-by-user is responsible for destroying the Session objects */
monitor->sessions_by_user = g_hash_table_new_full (g_str_hash, g_str_equal,
- NULL, (GDestroyNotify) session_free);
+ NULL, (GDestroyNotify) session_free);
monitor->sessions_by_uid = g_hash_table_new (g_direct_hash, g_direct_equal);
if (!ensure_database (monitor, &error)) {
diff --git a/src/nm-session-monitor.h b/src/nm-session-monitor.h
index cc44f7b501..1ea5f9f30b 100644
--- a/src/nm-session-monitor.h
+++ b/src/nm-session-monitor.h
@@ -42,7 +42,7 @@ GType nm_session_monitor_get_type (void) G_GNUC_CONST;
NMSessionMonitor *nm_session_monitor_get (void);
gboolean nm_session_monitor_uid_to_user (uid_t uid,
- const char **out_user,
+ const char **out_user,
GError **error);
gboolean nm_session_monitor_user_has_session (NMSessionMonitor *monitor,