summaryrefslogtreecommitdiff
path: root/src/bdm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bdm.h')
-rw-r--r--src/bdm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bdm.h b/src/bdm.h
index b72e4e0..25f0775 100644
--- a/src/bdm.h
+++ b/src/bdm.h
@@ -119,7 +119,7 @@ typedef struct _BDMEvent
// Add more useful stuff
} BDMEvent;
-typedef int (*BDMWidgetInitProc) (void);
+typedef int (*BDMWidgetInitProc) (BDMWidget * widget);
typedef int (*BDMWidgetFiniProc) (void);
typedef int (*BDMWidgetUpdateProc) (void);
@@ -146,7 +146,6 @@ struct _BDMWidget
BDMWidgetGetTextProc getTexts;
BDMWidgetHandleEventProc handleEvent;
- BDMWidgetSetBDMWidgetProc setBDMWidget;
};