core: fix suspend/resume signal names which the manager listens for
Introduced in 64fd8eea7706038e5d38c8463a1c765ed9331db2; but honestly I also thought GObject lower-cased signal names since it munges them for - and _ too. Apparently not.
This commit is contained in:
@@ -4373,10 +4373,10 @@ nm_manager_init (NMManager *manager)
|
||||
|
||||
/* sleep/wake handling */
|
||||
priv->sleep_monitor = nm_sleep_monitor_get ();
|
||||
g_signal_connect (priv->sleep_monitor, "Sleeping",
|
||||
G_CALLBACK (sleeping_cb), manager);
|
||||
g_signal_connect (priv->sleep_monitor, "Resuming",
|
||||
G_CALLBACK (resuming_cb), manager);
|
||||
g_signal_connect (priv->sleep_monitor, "sleeping",
|
||||
G_CALLBACK (sleeping_cb), manager);
|
||||
g_signal_connect (priv->sleep_monitor, "resuming",
|
||||
G_CALLBACK (resuming_cb), manager);
|
||||
|
||||
/* Listen for authorization changes */
|
||||
nm_auth_changed_func_register (authority_changed_cb, manager);
|
||||
|
Reference in New Issue
Block a user