To: enlightenment-devel@lists.sourceforge.net
Subject: Re: [E-devel] E SVN: discomfitor trunk/e/src/bin
Date: Thu, 11 Aug 2011 23:41:37 +0200 (CEST)
eina suffix or whatever eina function to detect suffi ?
Vincent
SVN revision: 62363
Evas_Object *o;
const char *bgfile = "";
const char *trans = "";
- const char *ext;
E_Desk *desk;
if (transition == E_BG_TRANSITION_START) trans = e_config->transition_start;
evas_object_clip_set(o, zone->bg_clip_object);
evas_object_show(o);
}
- if (bgfile) ext = strrchr(bgfile, '.');
- if ((ext) && (!strcasecmp(ext, ".edj")))
+ if (eina_str_has_extension(bgfile, ".edj"))
{
o = edje_object_add(zone->container->bg_evas);
evas_object_data_set(o, "e_zone", zone);