/* try to find the associated e_client */
if (!(ec = e_pixmap_client_get(ep)))
{
- uint64_t pixid;
-
- pixid = e_pixmap_window_get(ep);
- if (!(ec = e_pixmap_find_client(E_PIXMAP_TYPE_WL, pixid)))
- {
- ERR("\t\tCould not find client from pixmap %"PRIu64"", pixid);
- return;
- }
+ ERR("\t\tCould not find client from pixmap %p", ep);
+ return;
}
/* check if client is being deleted */
/* try to find the associated e_client */
if (!(ec = e_pixmap_client_get(ep)))
{
- uint64_t pixid;
-
- pixid = e_pixmap_window_get(ep);
- if (!(ec = e_pixmap_find_client(E_PIXMAP_TYPE_WL, pixid)))
- {
- ERR("\tCould not find client from pixmap %"PRIu64"", pixid);
- return;
- }
+ ERR("\tCould not find client from pixmap %p", ep);
+ return;
}
if (e_object_is_del(E_OBJECT(ec))) return;
/* try to find the associated e_client */
if (!(ec = e_pixmap_client_get(ep)))
{
- uint64_t pixid;
-
- pixid = e_pixmap_window_get(ep);
- if (!(ec = e_pixmap_find_client(E_PIXMAP_TYPE_WL, pixid)))
- {
- ERR("\tCould not find client from pixmap %"PRIu64"", pixid);
- return;
- }
+ ERR("\tCould not find client from pixmap %p", ep);
+ return;
}
if (e_object_is_del(E_OBJECT(ec))) return;
/* try to find the associated e_client */
if (!(ec = e_pixmap_client_get(ep)))
{
- uint64_t pixid;
-
- pixid = e_pixmap_window_get(ep);
- if (!(ec = e_pixmap_find_client(E_PIXMAP_TYPE_WL, pixid)))
- {
- ERR("\tCould not find client from pixmap %"PRIu64"", pixid);
- return;
- }
+ ERR("\tCould not find client from pixmap %p", ep);
+ return;
}
/* trap for clients which are being deleted */
/* try to find the associated e_client */
if (!(ec = e_pixmap_client_get(ep)))
{
- uint64_t pixid;
-
- pixid = e_pixmap_window_get(ep);
- if (!(ec = e_pixmap_find_client(E_PIXMAP_TYPE_WL, pixid)))
- {
- ERR("\tCould not find client from pixmap %"PRIu64, pixid);
- return;
- }
+ ERR("\tCould not find client from pixmap %p", ep);
+ return;
}
/* trap for clients which are being deleted */
/* try to find the associated e_client */
if (!(ec = e_pixmap_client_get(ep)))
{
- uint64_t pixid;
-
- pixid = e_pixmap_window_get(ep);
- if (!(ec = e_pixmap_find_client(E_PIXMAP_TYPE_WL, pixid)))
- {
- ERR("\tCould not find client from pixmap %"PRIu64, pixid);
- return;
- }
+ ERR("\tCould not find client from pixmap %p", ep);
+ return;
}
/* trap for clients which are being deleted */
/* try to get the e_client from this pixmap */
if (!(ec = e_pixmap_client_get(ep)))
- ec = e_pixmap_find_client(E_PIXMAP_TYPE_WL, e_pixmap_window_get(ep));
-
- if (!ec) return;
+ return;
evas_object_hide(ec->frame);
e_object_del(E_OBJECT(ec));
/* try to find the associated e_client */
if (!(ec = e_pixmap_client_get(ep)))
- {
- uint64_t pixid;
-
- pixid = e_pixmap_window_get(ep);
- if (!(ec = e_pixmap_find_client(E_PIXMAP_TYPE_WL, pixid)))
- ERR("\tCould not find client from pixmap %"PRIu64, pixid);
- }
+ ERR("\tCould not find client from pixmap %p", ep);
if (!ec)
{
/* try to find the parents associated e_client */
if (!(epc = e_pixmap_client_get(epp)))
- {
- uint64_t pixid;
-
- pixid = e_pixmap_window_get(epp);
- if (!(epc = e_pixmap_find_client(E_PIXMAP_TYPE_WL, pixid)))
- ERR("\tCould not find client from pixmap %"PRIu64, pixid);
- }
+ ERR("\tCould not find client from pixmap %p", epp);
/* trap for clients which are being deleted */
if ((epc) && (e_object_is_del(E_OBJECT(epc)))) return;