aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2013-02-21 13:52:28 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2013-02-21 13:52:28 +0000
commit368142bc76e32ff1ae9888bcccd7c78086d7c3b2 (patch)
tree4ce8b03a293710d032471b8485f830eef72fe89e
parentb37bf0904f08b8baf8a04cc8b57f938d89cc23b9 (diff)
downloadenlightenment-368142bc76e32ff1ae9888bcccd7c78086d7c3b2.tar.gz
enlightenment-368142bc76e32ff1ae9888bcccd7c78086d7c3b2.tar.xz
enlightenment-368142bc76e32ff1ae9888bcccd7c78086d7c3b2.zip
minor cosmetic tweaks for gadman init
SVN revision: 84287
-rw-r--r--src/modules/gadman/e_mod_gadman.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/gadman/e_mod_gadman.c b/src/modules/gadman/e_mod_gadman.c
index 0e0e4a1dc..af9545880 100644
--- a/src/modules/gadman/e_mod_gadman.c
+++ b/src/modules/gadman/e_mod_gadman.c
@@ -785,11 +785,10 @@ _gadman_gadcon_new(const char *name, Gadman_Layer_Type layer, E_Zone *zone, E_Ga
/* ... or use the e background window */
else
{
- gc->evas = Man->container->bg_evas;
- e_gadcon_ecore_evas_set(gc, Man->container->bg_ecore_evas);
+ gc->evas = e_comp_get(Man->container)->evas;
+ e_gadcon_ecore_evas_set(gc, e_comp_get(Man->container)->ee);
e_gadcon_xdnd_window_set(gc, e_comp_get(Man->container)->ee_win);
e_gadcon_dnd_window_set(gc, e_comp_get(Man->container)->ee_win);
- e_drop_xdnd_register_set(Man->container->bg_win, 1);
}
e_gadcon_drop_handler_add(gc, _gadman_gadcon_dnd_enter_cb, _gadman_gadcon_dnd_leave_cb,
_gadman_gadcon_dnd_move_cb, _gadman_gadcon_dnd_drop_cb,