diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-07-01 17:34:13 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-07-01 17:34:13 +1000 |
commit | 57d3632e36fe2ab55589207a84c29544b15bd2c3 (patch) | |
tree | e68070f37cf88b33fb5d717d9ef839c5e2e8dc88 /src/gwin/gwidget.c | |
parent | a51ffd5b6891a9fb87ac3a903ae6b415fc32c726 (diff) | |
download | uGFX-57d3632e36fe2ab55589207a84c29544b15bd2c3.tar.gz uGFX-57d3632e36fe2ab55589207a84c29544b15bd2c3.tar.bz2 uGFX-57d3632e36fe2ab55589207a84c29544b15bd2c3.zip |
GWIN Init structures are const (read-only to GWIN)
Diffstat (limited to 'src/gwin/gwidget.c')
-rw-r--r-- | src/gwin/gwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gwin/gwidget.c b/src/gwin/gwidget.c index 2825bf4c..a2b82f1d 100644 --- a/src/gwin/gwidget.c +++ b/src/gwin/gwidget.c @@ -165,7 +165,7 @@ void _gwidgetInit(void) { geventRegisterCallback(&gl, gwidgetEvent, 0); } -GHandle _gwidgetCreate(GWidgetObject *pgw, GWidgetInit *pInit, const gwidgetVMT *vmt) { +GHandle _gwidgetCreate(GWidgetObject *pgw, const GWidgetInit *pInit, const gwidgetVMT *vmt) { if (!(pgw = (GWidgetObject *)_gwindowCreate(&pgw->g, &pInit->g, &vmt->g, GWIN_FLG_WIDGET|GWIN_FLG_ENABLED))) return 0; |