summaryrefslogtreecommitdiff
path: root/src/lightdm.c
diff options
context:
space:
mode:
authorJesús González <jgonzalez@gdr-sistemas.com>2014-10-02 20:33:02 +0200
committerJesús González <jgonzalez@gdr-sistemas.com>2014-10-02 20:33:02 +0200
commit605e94ffdee71d78432aca2ecf6b355c698f5bdd (patch)
tree63505a752fcacef6c1d673fcb2cbf3c9cf24555d /src/lightdm.c
parente05f6b09d771df8bf1dbe0337c1d4be5e6d61f76 (diff)
downloadlightdm-605e94ffdee71d78432aca2ecf6b355c698f5bdd.tar.gz
Reverted "can-graphical-changed" signal constants to prepare for parent branch merge.
Diffstat (limited to 'src/lightdm.c')
-rw-r--r--src/lightdm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lightdm.c b/src/lightdm.c
index 0c9f3d96..43e7c545 100644
--- a/src/lightdm.c
+++ b/src/lightdm.c
@@ -1091,10 +1091,10 @@ login1_add_seat (Login1Seat *login1_seat)
{
if (config_get_boolean (config_get_instance (), "LightDM", "logind-check-graphical"))
{
- g_signal_connect (login1_seat, SIGNAL_LOGIN1_CAN_GRAPHICAL_CHANGED, G_CALLBACK (login1_can_graphical_changed_cb), NULL);
+ g_signal_connect (login1_seat, "can-graphical-changed", G_CALLBACK (login1_can_graphical_changed_cb), NULL);
}
- g_signal_connect (login1_seat, SIGNAL_LOGIN1_ACTIVE_SESION_CHANGED, G_CALLBACK (login1_active_session_changed_cb), NULL);
+ g_signal_connect (login1_seat, LOGIN1_SIGNAL_ACTIVE_SESION_CHANGED, G_CALLBACK (login1_active_session_changed_cb), NULL);
return update_login1_seat (login1_seat);
}
@@ -1115,6 +1115,7 @@ login1_service_seat_removed_cb (Login1Service *service, Login1Seat *login1_seat)
{
g_debug ("Seat %s removed from logind", login1_seat_get_id (login1_seat));
g_signal_handlers_disconnect_matched (login1_seat, G_SIGNAL_MATCH_FUNC, 0, 0, NULL, login1_can_graphical_changed_cb, NULL);
+ g_signal_handlers_disconnect_matched (login1_seat, G_SIGNAL_MATCH_FUNC, 0, 0, NULL, login1_active_session_changed_cb, NULL);
remove_login1_seat (login1_seat);
}