1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-18 20:10:29 +01:00

WINGs: Fix unused parameter compiler warnings in examples.

This commit is contained in:
Doug Torrance
2014-10-30 16:24:46 -05:00
committed by Carlos R. Mafra
parent fc35dfd277
commit a47f07cfc3
3 changed files with 6 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ void showSelectedColor(void *self, void *cdata)
{
WMColorPanel *panel = (WMColorPanel *) self;
(void) cdata;
printf("Selected Color: %s\n", WMGetColorRGBDescription(WMGetColorPanelColor(panel)));
}

View File

@@ -41,6 +41,8 @@ void show(WMWidget * self, void *data)
void quit(WMWidget * self, void *data)
{
(void) self;
(void) data;
exit(0);
}

View File

@@ -155,6 +155,9 @@ static void resizeObserver(void *self, WMNotification * notif)
WMSize size = WMGetViewSize(WMWidgetView(win));
int x, y;
(void) self;
(void) notif;
WinSize = size.width;
for (y = 0; y < Size; y++) {
for (x = 0; x < Size; x++) {