mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-23 18:45:56 +01:00
WINGs: Make the test examples to compile
Those examples are optional but currently cannot compile properly. The compiler is reporting some unused variables and missing header file.
This commit is contained in:
committed by
Carlos R. Mafra
parent
3b1c00ad06
commit
6c69dc32a0
@@ -64,6 +64,7 @@ static W_Class myWidgetClass = 0;
|
||||
*/
|
||||
W_Class InitMyWidget(WMScreen * scr)
|
||||
{
|
||||
(void)scr;
|
||||
/* register our widget with WINGs and get our widget class ID */
|
||||
if (!myWidgetClass) {
|
||||
myWidgetClass = W_RegisterUserWidget();
|
||||
|
||||
Reference in New Issue
Block a user