summaryrefslogtreecommitdiff
path: root/capplets/accessibility/at-properties/main.c
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-07-12 15:24:22 +0800
committerraveit65 <[email protected]>2019-07-17 09:38:54 +0200
commit0f0f7ca9fe376bdd279c76588eb8e9ed69aeabcf (patch)
tree3664a9a7086c7c61542aa3ac8771cd5f03a7a2ef /capplets/accessibility/at-properties/main.c
parent21266a4e713b262de0a931e668723d78f7278535 (diff)
downloadmate-control-center-0f0f7ca9fe376bdd279c76588eb8e9ed69aeabcf.tar.bz2
mate-control-center-0f0f7ca9fe376bdd279c76588eb8e9ed69aeabcf.tar.xz
remove lightdm-settings support
Diffstat (limited to 'capplets/accessibility/at-properties/main.c')
-rw-r--r--capplets/accessibility/at-properties/main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/capplets/accessibility/at-properties/main.c b/capplets/accessibility/at-properties/main.c
index 83bbe8f4..5e5ddaa7 100644
--- a/capplets/accessibility/at-properties/main.c
+++ b/capplets/accessibility/at-properties/main.c
@@ -34,10 +34,7 @@ static GDesktopAppInfo *get_desktop_app_info_from_dm (void)
if (dm_type == DM_TYPE_MDM) {
app_info = g_desktop_app_info_new ("mdmsetup.desktop");
} else if (dm_type == DM_TYPE_LIGHTDM) {
- app_info = g_desktop_app_info_new ("lightdm-settings.desktop");
- if (app_info == NULL) {
- app_info = g_desktop_app_info_new ("lightdm-gtk-greeter-settings.desktop");
- }
+ app_info = g_desktop_app_info_new ("lightdm-gtk-greeter-settings.desktop");
}
return app_info;
}