remove unused comp object variable use and function call in show helper

Reviewers: zmike

Differential Revision: https://phab.enlightenment.org/D686
This commit is contained in:
Seunghun Lee 2014-04-02 09:27:13 -04:00 committed by Mike Blumenkrantz
parent 26d3075e3d
commit 597aec1710
1 changed files with 1 additions and 2 deletions

View File

@ -1226,7 +1226,7 @@ _e_comp_intercept_hide(void *data, Evas_Object *obj)
static void
_e_comp_intercept_show_helper(E_Comp_Object *cw)
{
int w = 0, h = 0, pw, ph;
int w = 0, h = 0;
if (cw->ec->sticky)
e_comp_object_signal_emit(cw->smart_obj, "e,state,sticky", "e");
@ -1264,7 +1264,6 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw)
EC_CHANGED(cw->ec);
return;
}
e_pixmap_size_get(cw->ec->pixmap, &pw, &ph);
if (!e_pixmap_size_get(cw->ec->pixmap, &w, &h))
e_pixmap_clear(cw->ec->pixmap);