diff options
author | Vincent Torri <vtorri@univ-evry.fr> | 2011-08-11 21:47:46 +0000 |
---|---|---|
committer | Mike Blumenkrantz <michael.blumenkrantz@gmail.com> | 2011-08-11 21:47:46 +0000 |
commit | c918bb596317dfea7f99a1ba1325b449d5c5f3ed (patch) | |
tree | 20462790ec420ff033854010e85b3569fe8a55e0 /src/bin | |
parent | 220beb8bbb7e85039f6aec4755b4842cf71eebbe (diff) | |
download | enlightenment-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.c | 4 |
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); |