elemenatry/widget - added NULL check
authorhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 19 Dec 2011 07:22:25 +0000 (07:22 +0000)
committerhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 19 Dec 2011 07:22:25 +0000 (07:22 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@66322 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_widget.c

index 2e0e271..a0d122e 100644 (file)
@@ -1941,7 +1941,7 @@ elm_widget_focused_object_clear(Evas_Object *obj)
 {
    API_ENTRY return;
    if (!sd->focused) return;
-   if (elm_widget_focus_get(sd->resize_obj))
+   if (sd->resize_obj && elm_widget_focus_get(sd->resize_obj))
      elm_widget_focused_object_clear(sd->resize_obj);
    else
      {