mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-24 16:46:54 +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:
1 parent
3b1c00ad06
commit
6c69dc32a0
6 files changed
+24
-16
No files matched your search
@@ -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