summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorVincent Torri <vtorri@univ-evry.fr>2011-08-11 21:47:46 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-08-11 21:47:46 +0000
commitc918bb596317dfea7f99a1ba1325b449d5c5f3ed (patch)
tree20462790ec420ff033854010e85b3569fe8a55e0 /src/bin
parent220beb8bbb7e85039f6aec4755b4842cf71eebbe (diff)
downloadenlightenment-c918bb596317dfea7f99a1ba1325b449d5c5f3ed.tar.gz
From: Vincent Torri <vtorri@univ-evry.fr>
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
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/e_bg.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bin/e_bg.c b/src/bin/e_bg.c
index a918d00ad4..72ed93c2f0 100644
--- a/src/bin/e_bg.c
+++ b/src/bin/e_bg.c
@@ -238,7 +238,6 @@ e_bg_zone_update(E_Zone *zone, E_Bg_Transition transition)
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;
@@ -296,8 +295,7 @@ e_bg_zone_update(E_Zone *zone, E_Bg_Transition transition)
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);