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:
committed by
Carlos R. Mafra
parent
fc35dfd277
commit
a47f07cfc3
@@ -7,6 +7,7 @@ void showSelectedColor(void *self, void *cdata)
|
||||
{
|
||||
WMColorPanel *panel = (WMColorPanel *) self;
|
||||
|
||||
(void) cdata;
|
||||
printf("Selected Color: %s\n", WMGetColorRGBDescription(WMGetColorPanelColor(panel)));
|
||||
}
|
||||
|
||||
|
||||
@@ -41,6 +41,8 @@ void show(WMWidget * self, void *data)
|
||||
|
||||
void quit(WMWidget * self, void *data)
|
||||
{
|
||||
(void) self;
|
||||
(void) data;
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
||||
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user