From bd1ea9748e0d86b9a59af05c00b8be6507f85193 Mon Sep 17 00:00:00 2001 From: sebastid Date: Fri, 3 Jun 2005 07:02:50 +0000 Subject: [PATCH] Always return a container. SVN revision: 15080 --- src/bin/e_container.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/e_container.c b/src/bin/e_container.c index ab14365a7..406bf784a 100644 --- a/src/bin/e_container.c +++ b/src/bin/e_container.c @@ -207,7 +207,8 @@ e_container_current_get(E_Manager *man) if (con->visible) return con; } - return NULL; + /* If noone is available, return the first */ + return (E_Container *con)man->containers->data; } void