aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_popup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/e_popup.c')
-rw-r--r--src/bin/e_popup.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/bin/e_popup.c b/src/bin/e_popup.c
index b98f41f65..468446cca 100644
--- a/src/bin/e_popup.c
+++ b/src/bin/e_popup.c
@@ -294,6 +294,15 @@ e_popup_object_add(E_Popup *pop, Evas_Object *obj)
}
EAPI void
+e_popup_object_remove(E_Popup *pop, Evas_Object *obj)
+{
+ E_OBJECT_CHECK(pop);
+ E_OBJECT_TYPE_CHECK(pop, E_POPUP_TYPE);
+
+ pop->objects = eina_list_remove(pop->objects, obj);
+}
+
+EAPI void
e_popup_autoclose(E_Popup *pop, E_Popup_Key_Cb cb, const void *data)
{
E_OBJECT_CHECK(pop);