summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-06-21 17:48:25 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-06-21 17:48:25 +0200
commited983944d6d00a055ff90f04f6f1e12aca87bb86 (patch)
treeb2f475ccff089d8411a592a52fa995930b9088a5 /src/gui
parent9ffa182004e4c39a2131f0c764a94d14976ae13c (diff)
downloadabaos-ed983944d6d00a055ff90f04f6f1e12aca87bb86.tar.gz
abaos-ed983944d6d00a055ff90f04f6f1e12aca87bb86.tar.bz2
fixed vtable initialization of desktop
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/desktop.c20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/gui/desktop.c b/src/gui/desktop.c
index 39235d2..1a0a5a8 100644
--- a/src/gui/desktop.c
+++ b/src/gui/desktop.c
@@ -5,15 +5,17 @@
static desktop_vtable_t desktop_vtable = {
{
- desktop_draw,
- composite_widget_get_focus,
- widget_model_to_screen,
- widget_contains_coordinate,
- desktop_on_mouse_down,
- desktop_on_mouse_up,
- desktop_on_mouse_move,
- composite_widget_on_key_down,
- composite_widget_on_key_up
+ {
+ desktop_draw,
+ composite_widget_get_focus,
+ widget_model_to_screen,
+ widget_contains_coordinate,
+ desktop_on_mouse_down,
+ desktop_on_mouse_up,
+ desktop_on_mouse_move,
+ composite_widget_on_key_down,
+ composite_widget_on_key_up
+ }
}
};