pkit gadget: do not autoclose the popup

Like the majority of other gadgets
This commit is contained in:
Davide Andreoli 2017-08-13 20:08:01 +02:00
parent 2e5c9cbe71
commit ac0e78201e
1 changed files with 0 additions and 8 deletions

View File

@ -327,12 +327,6 @@ _popup_del_cb(void *obj)
packagekit_popup_del(e_object_data_get(obj));
}
static void
_popup_autoclose_cb(void *data, Evas_Object *obj EINA_UNUSED)
{
packagekit_popup_del((E_PackageKit_Instance *)data);
}
static char *
_gl_item_single_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part)
{
@ -552,8 +546,6 @@ packagekit_popup_new(E_PackageKit_Instance *inst)
// setup and show the popup
e_gadcon_popup_content_set(inst->popup, table);
e_comp_object_util_autoclose(inst->popup->comp_object,
_popup_autoclose_cb, NULL, inst);
e_object_data_set(E_OBJECT(inst->popup), inst);
E_OBJECT_DEL_SET(inst->popup, _popup_del_cb);
e_gadcon_popup_show(inst->popup);