diff --git a/src/gui/widget/canvas.c b/src/gui/widget/canvas.c index 8818f027..f03cd0b6 100644 --- a/src/gui/widget/canvas.c +++ b/src/gui/widget/canvas.c @@ -40,7 +40,7 @@ typedef struct CanvasRec_ { LinkedList contexts; } CanvasRec, *Canvas; -struct { +static struct { LCUI_WidgetPrototype proto; } self; diff --git a/src/gui/widget_background.c b/src/gui/widget_background.c index e1a91c08..9366a35d 100644 --- a/src/gui/widget_background.c +++ b/src/gui/widget_background.c @@ -51,7 +51,7 @@ typedef struct ImageRefRec_ { ImageCache cache; } ImageRefRec, *ImageRef; -struct LCUI_WidgetBackgroundModule { +static struct LCUI_WidgetBackgroundModule { LCUI_BOOL active; DictType dtype; Dict *images;