elm_widget: Fix order of operations (isa before data_get)
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 15 Feb 2017 04:32:15 +0000 (13:32 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 15 Feb 2017 04:38:19 +0000 (13:38 +0900)
commitc23ae314a447d7336d36469d03f1d560010cecc0
treef9a5b51538837e45c8957d61b21080596496a636
parent2bc44b055e1ba0ddc2aa89e01770b9295c95d001
elm_widget: Fix order of operations (isa before data_get)

This fixes some of the occurences of the following error message
when using eo_debug:

ERR<23101>:eo /home/jpeg/e/core/efl/src/lib/eo/eo.c:1955
  efl_data_scope_get() Tried getting data of class 'Elm.Widget'
  from object of class 'Edje.Object', but the former is not a
  direct inheritance of the latter.

If we're going to call efl_isa, then let's at least do it before
efl_data_scope_get.
src/lib/elementary/elm_widget.c