diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-01 20:56:00 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-01 20:56:00 +0200 |
commit | f8181f1355cf8218daf2ee2153606b7eccf1cb18 (patch) | |
tree | f5f1bab87dbc3c99bec83ea00b78989344f8bf27 /src/gui/window.c | |
parent | 85df1646ecccc7e484e2efc903166b89e4c55684 (diff) | |
download | abaos-f8181f1355cf8218daf2ee2153606b7eccf1cb18.tar.gz abaos-f8181f1355cf8218daf2ee2153606b7eccf1cb18.tar.bz2 |
got rid of superflous vtables in GUI class hierarchy
Diffstat (limited to 'src/gui/window.c')
-rw-r--r-- | src/gui/window.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/window.c b/src/gui/window.c index cd62e47..f56c8e6 100644 --- a/src/gui/window.c +++ b/src/gui/window.c @@ -30,8 +30,6 @@ void window_init( window_t *window, widget_t *parent, const int x, const int y, window->dragging = false; window->base.base.vtable = (widget_vtable_t *)&window_vtable; - window->base.vtable = (composite_widget_vtable_t *)&window_vtable; - window->vtable = &window_vtable; } void window_draw( void *obj, graphics_context_t *context ) |