From 423c28b40e0849838615e575630d8e251f04739b Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sun, 28 Jul 2013 07:04:04 +0200 Subject: cleanup --- src/gwin/list.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'src/gwin') diff --git a/src/gwin/list.c b/src/gwin/list.c index 8f5530a2..f495ada4 100644 --- a/src/gwin/list.c +++ b/src/gwin/list.c @@ -71,14 +71,6 @@ static void _selectDown(GWidgetObject *gw) { #undef gcw } -static void _selectEnter(GWidgetObject *gw) { - #define gcw ((GListObject *)gw) - - - - #undef gcw -} - static void sendListEvent(GWidgetObject *gw, int item) { GSourceListener* psl; GEvent* pe; @@ -183,11 +175,6 @@ static void gwinListDefaultDraw(GWidgetObject* gw, void* param) { case 1: _selectDown(gw); break; - - // select enter - case 2: - _selectEnter(gw); - break; } #undef gcw @@ -221,7 +208,7 @@ static const gwidgetVMT listVMT = { #endif #if GINPUT_NEED_TOGGLE { - 2, // three toggle roles + 2, // two toggle roles ToggleAssin, // Assign toggles ToggleGet, // get toggles 0, -- cgit v1.2.3