summaryrefslogtreecommitdiff
path: root/src/bin/e_bg.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-03-13 17:44:24 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-03-13 17:44:24 -0400
commitba7c1ac49c04ca5d57b49ee143baa7a9eddb1d02 (patch)
tree84e4f5743acf2341ed70d4324d269bc8e3c0598c /src/bin/e_bg.c
parentf9f7f001c9391511be964777527122225f7a04ee (diff)
remove E_Zone->comp member
Diffstat (limited to 'src/bin/e_bg.c')
-rw-r--r--src/bin/e_bg.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/e_bg.c b/src/bin/e_bg.c
index 28fe7d2..2c72f4a 100644
--- a/src/bin/e_bg.c
+++ b/src/bin/e_bg.c
@@ -208,9 +208,9 @@ e_bg_zone_update(E_Zone *zone, E_Bg_Transition transition)
208 208
209 desk = e_desk_current_get(zone); 209 desk = e_desk_current_get(zone);
210 if (desk) 210 if (desk)
211 bgfile = e_bg_file_get(zone->comp->num, zone->num, desk->x, desk->y); 211 bgfile = e_bg_file_get(e_comp->num, zone->num, desk->x, desk->y);
212 else 212 else
213 bgfile = e_bg_file_get(zone->comp->num, zone->num, -1, -1); 213 bgfile = e_bg_file_get(e_comp->num, zone->num, -1, -1);
214 214
215 if (zone->bg_object) 215 if (zone->bg_object)
216 { 216 {
@@ -233,7 +233,7 @@ e_bg_zone_update(E_Zone *zone, E_Bg_Transition transition)
233 zone->bg_object = NULL; 233 zone->bg_object = NULL;
234 E_FREE_FUNC(zone->transition_object, evas_object_del); 234 E_FREE_FUNC(zone->transition_object, evas_object_del);
235 } 235 }
236 o = edje_object_add(zone->comp->evas); 236 o = edje_object_add(e_comp->evas);
237 evas_object_repeat_events_set(o, 1); 237 evas_object_repeat_events_set(o, 1);
238 zone->transition_object = o; 238 zone->transition_object = o;
239 evas_object_name_set(zone->transition_object, "zone->transition_object"); 239 evas_object_name_set(zone->transition_object, "zone->transition_object");
@@ -250,14 +250,14 @@ e_bg_zone_update(E_Zone *zone, E_Bg_Transition transition)
250 } 250 }
251 if (eina_str_has_extension(bgfile, ".edj")) 251 if (eina_str_has_extension(bgfile, ".edj"))
252 { 252 {
253 o = edje_object_add(zone->comp->evas); 253 o = edje_object_add(e_comp->evas);
254 edje_object_file_set(o, bgfile, "e/desktop/background"); 254 edje_object_file_set(o, bgfile, "e/desktop/background");
255 if (edje_object_data_get(o, "noanimation")) 255 if (edje_object_data_get(o, "noanimation"))
256 edje_object_animation_set(o, EINA_FALSE); 256 edje_object_animation_set(o, EINA_FALSE);
257 } 257 }
258 else 258 else
259 { 259 {
260 o = e_icon_add(zone->comp->evas); 260 o = e_icon_add(e_comp->evas);
261 e_icon_file_key_set(o, bgfile, NULL); 261 e_icon_file_key_set(o, bgfile, NULL);
262 e_icon_fill_inside_set(o, 0); 262 e_icon_fill_inside_set(o, 0);
263 } 263 }