diff --git a/widgets/textbox.c b/widgets/textbox.c index 87ca0adb7..238d04643 100644 --- a/widgets/textbox.c +++ b/widgets/textbox.c @@ -55,7 +55,7 @@ typedef struct } textbox_data_t; static area_t -textbox_geometry(widget_t *widget, int screen) +textbox_extents(lua_State *L, widget_t *widget) { textbox_data_t *d = widget->data; area_t geometry = d->extents; @@ -75,12 +75,6 @@ textbox_geometry(widget_t *widget, int screen) return geometry; } -static area_t -textbox_extents(lua_State *L, widget_t *widget) -{ - return textbox_geometry(widget, 0); -} - /** Draw a textbox widget. * \param widget The widget. * \param ctx The draw context.