diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c index aca00a13a..8b28f1a2b 100644 --- a/src/bin/e_pixmap.c +++ b/src/bin/e_pixmap.c @@ -409,9 +409,6 @@ e_pixmap_refresh(E_Pixmap *cp) break; case E_PIXMAP_TYPE_WL: #if defined(HAVE_WAYLAND_CLIENTS) || defined(HAVE_WAYLAND_ONLY) - DBG("PIXMAP REFRESH"); - if (cp->parent) DBG("\tHas Parent"); - else DBG("\tNo Parent"); _e_pixmap_update_wl(cp); success = ((cp->w > 0) && (cp->h > 0)); #endif @@ -602,7 +599,6 @@ e_pixmap_image_clear(E_Pixmap *cp, Eina_Bool cache) #endif break; case E_PIXMAP_TYPE_WL: - DBG("PIXMAP IMAGE CLEAR: %d", cache); /* NB: Nothing to do here. No-Op */ /* NB: Old code would memcpy here */ break; @@ -638,7 +634,6 @@ e_pixmap_image_refresh(E_Pixmap *cp) break; case E_PIXMAP_TYPE_WL: #if defined(HAVE_WAYLAND_CLIENTS) || defined(HAVE_WAYLAND_ONLY) - DBG("PIXMAP IMAGE REFRESH"); _e_pixmap_update_wl(cp); return ((cp->w > 0) && (cp->h > 0)); #endif @@ -700,20 +695,15 @@ e_pixmap_image_data_get(E_Pixmap *cp) break; case E_PIXMAP_TYPE_WL: #if defined(HAVE_WAYLAND_CLIENTS) || defined(HAVE_WAYLAND_ONLY) - DBG("PIXMAP IMAGE DATA GET"); if (cp->resource) { struct wl_shm_buffer *buffer; void *data = NULL; - /* size_t size; */ if (!(buffer = wl_shm_buffer_get(cp->resource))) return NULL; - /* size = (cp->w * cp->h * sizeof(int)); */ - /* data = malloc(size); */ wl_shm_buffer_begin_access(buffer); - /* memcpy(data, wl_shm_buffer_get_data(buffer), size); */ data = wl_shm_buffer_get_data(buffer); wl_shm_buffer_end_access(buffer);