@ -238,11 +238,6 @@ launcher_logind_close(struct weston_launcher *launcher, int fd)
minor ( st . st_rdev ) ) ;
minor ( st . st_rdev ) ) ;
}
}
static void
launcher_logind_restore ( struct weston_launcher * launcher )
{
}
static int
static int
launcher_logind_activate_vt ( struct weston_launcher * launcher , int vt )
launcher_logind_activate_vt ( struct weston_launcher * launcher , int vt )
{
{
@ -382,7 +377,6 @@ static void
disconnected_dbus ( struct launcher_logind * wl )
disconnected_dbus ( struct launcher_logind * wl )
{
{
weston_log ( " logind: dbus connection lost, exiting.. \n " ) ;
weston_log ( " logind: dbus connection lost, exiting.. \n " ) ;
launcher_logind_restore ( & wl - > base ) ;
exit ( - 1 ) ;
exit ( - 1 ) ;
}
}
@ -403,7 +397,6 @@ session_removed(struct launcher_logind *wl, DBusMessage *m)
if ( ! strcmp ( name , wl - > sid ) ) {
if ( ! strcmp ( name , wl - > sid ) ) {
weston_log ( " logind: our session got closed, exiting.. \n " ) ;
weston_log ( " logind: our session got closed, exiting.. \n " ) ;
launcher_logind_restore ( & wl - > base ) ;
exit ( - 1 ) ;
exit ( - 1 ) ;
}
}
}
}
@ -852,6 +845,5 @@ const struct launcher_interface launcher_logind_iface = {
. open = launcher_logind_open ,
. open = launcher_logind_open ,
. close = launcher_logind_close ,
. close = launcher_logind_close ,
. activate_vt = launcher_logind_activate_vt ,
. activate_vt = launcher_logind_activate_vt ,
. restore = launcher_logind_restore ,
. get_vt = launcher_logind_get_vt ,
. get_vt = launcher_logind_get_vt ,
} ;
} ;