Remove unused variable.

Add a safety check.



SVN revision: 56237
This commit is contained in:
Christopher Michael 2011-01-20 07:27:54 +00:00
parent 01a2802650
commit 2097e0899b
1 changed files with 3 additions and 3 deletions

View File

@ -128,10 +128,10 @@ static void
_gc_orient(E_Gadcon_Client *gcc, E_Gadcon_Orient orient)
{
Instance *inst;
Evas_Coord mw, mh;
Evas_Coord mw;
inst = gcc->data;
edje_object_size_min_calc(inst->tclock, &mw, &mh);
if (!(inst = gcc->data)) return;
edje_object_size_min_calc(inst->tclock, &mw, NULL);
e_gadcon_client_min_size_set(gcc, mw, 16);
}