aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_comp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/e_comp.c')
-rw-r--r--src/bin/e_comp.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 895f577c8..7cd2046c5 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -4843,6 +4843,9 @@ e_comp_get(void *o)
E_Container *con = NULL;
E_Manager *man = NULL;
E_Gadcon_Popup *gp;
+ E_Gadcon *gc;
+ E_Gadcon_Client *gcc;
+ E_Drag *drag;
if (!o) obj = (E_Object*)e_manager_current_get();
/* try to get to zone type first */
@@ -4868,6 +4871,20 @@ e_comp_get(void *o)
obj = (void*)gp->win->zone;
EINA_SAFETY_ON_NULL_RETURN_VAL(obj, NULL);
break;
+ case E_DRAG_TYPE:
+ drag = (E_Drag*)obj;
+ obj = (void*)drag->container;
+ EINA_SAFETY_ON_NULL_RETURN_VAL(obj, NULL);
+ break;
+ case E_GADCON_CLIENT_TYPE:
+ gcc = (E_Gadcon_Client*)obj;
+ obj = (void*)gcc->gadcon;
+ EINA_SAFETY_ON_NULL_RETURN_VAL(obj, NULL);
+ case E_GADCON_TYPE:
+ gc = (E_Gadcon*)obj;
+ obj = (void*)e_gadcon_zone_get(gc);
+ EINA_SAFETY_ON_NULL_RETURN_VAL(obj, NULL);
+ break;
default:
break;
}