HomePhabricator

elm_win: fix correct return value on elm_win_rotation_get

Authored by Yeongjong Lee <yj34.lee@samsung.com> on Mar 26 2019, 3:48 AM.

Description

elm_win: fix correct return value on elm_win_rotation_get

Summary:
Before b3327c761e, -1 was returned on`elm_win_rotation_get`, if obj is NULL.
This fixes backward compatibility.

Test Plan: make check

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, reviewers, committers

Tags: efl

Differential Revision: https://phab.enlightenment.org/D8474

Details