summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
Diffstat (limited to 'capplets')
-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;
}