From 21cd340ca368daf8f52471009abe09854c3472e8 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Tue, 19 Sep 2006 02:49:46 +0000 Subject: [PATCH] Patch from metrics, this time applied in the correct place. SVN revision: 25971 --- src/bin/e_fdo_menu_to_order.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/e_fdo_menu_to_order.c b/src/bin/e_fdo_menu_to_order.c index 0a13e68..85ed1e8 100644 --- a/src/bin/e_fdo_menu_to_order.c +++ b/src/bin/e_fdo_menu_to_order.c @@ -213,6 +213,7 @@ _e_fdo_menu_to_order_cb_desktop_foreach(void *list_data, void *data) snprintf(path, PATH_MAX, "%s/%s", cat_data->path, filename); desktop = ecore_desktop_get(path, NULL); /* Check if we process */ + if (!desktop) return; if ( (!desktop->hidden) && (!desktop->no_display) && ((desktop->type == NULL) || (strcmp(desktop->type, "Application") == 0)) ) { char *category; -- 2.7.4