From 7b18111ee4f05a35684ac654ea26099de50e61b4 Mon Sep 17 00:00:00 2001 From: Brett Nash Date: Wed, 4 Aug 2010 02:03:53 +0000 Subject: [PATCH] elm_notify: Return an invalid enumeration on error. SVN revision: 50800 --- src/lib/elm_notify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elm_notify.c b/src/lib/elm_notify.c index 9a026dc..9b9f767 100644 --- a/src/lib/elm_notify.c +++ b/src/lib/elm_notify.c @@ -488,7 +488,7 @@ elm_notify_orient_get(const Evas_Object *obj) { ELM_CHECK_WIDTYPE(obj, widtype); Widget_Data *wd = elm_widget_data_get(obj); - if (!wd) return; + if (!wd) return (Elm_Notify_Orient)-1; return wd->orient; } -- 2.7.4