diff --git a/objects/drawin.c b/objects/drawin.c index dde10c486..da426e1aa 100644 --- a/objects/drawin.c +++ b/objects/drawin.c @@ -72,12 +72,6 @@ drawin_wipe(drawin_t *w) w->drawable = NULL; } -void -drawin_unref_simplified(drawin_t **item) -{ - luaA_object_unref(globalconf.L, *item); -} - static void drawin_update_drawing(drawin_t *w, int widx) { diff --git a/objects/drawin.h b/objects/drawin.h index c2a7608a6..29b6a0f8a 100644 --- a/objects/drawin.h +++ b/objects/drawin.h @@ -44,9 +44,7 @@ struct drawin_t area_t geometry; }; -void drawin_unref_simplified(drawin_t **); - -ARRAY_FUNCS(drawin_t *, drawin, drawin_unref_simplified) +ARRAY_FUNCS(drawin_t *, drawin, DO_NOTHING) drawin_t * drawin_getbywin(xcb_window_t);