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/desktop.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/desktop.c')
-rw-r--r-- | src/gui/desktop.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/desktop.c b/src/gui/desktop.c index 4a3876e..08da59b 100644 --- a/src/gui/desktop.c +++ b/src/gui/desktop.c @@ -31,8 +31,6 @@ void desktop_init( desktop_t *desktop, const int w, const int h, const vga_color desktop->needs_redrawing = true; desktop->base.base.vtable = (widget_vtable_t *)&desktop_vtable; - desktop->base.vtable = (composite_widget_vtable_t *)&desktop_vtable; - desktop->vtable = &desktop_vtable; } void desktop_draw( void *obj, graphics_context_t *context ) |