mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +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;
|
WMColorPanel *panel = (WMColorPanel *) self;
|
||||||
|
|
||||||
|
(void) cdata;
|
||||||
printf("Selected Color: %s\n", WMGetColorRGBDescription(WMGetColorPanelColor(panel)));
|
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 quit(WMWidget * self, void *data)
|
||||||
{
|
{
|
||||||
|
(void) self;
|
||||||
|
(void) data;
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -155,6 +155,9 @@ static void resizeObserver(void *self, WMNotification * notif)
|
|||||||
WMSize size = WMGetViewSize(WMWidgetView(win));
|
WMSize size = WMGetViewSize(WMWidgetView(win));
|
||||||
int x, y;
|
int x, y;
|
||||||
|
|
||||||
|
(void) self;
|
||||||
|
(void) notif;
|
||||||
|
|
||||||
WinSize = size.width;
|
WinSize = size.width;
|
||||||
for (y = 0; y < Size; y++) {
|
for (y = 0; y < Size; y++) {
|
||||||
for (x = 0; x < Size; x++) {
|
for (x = 0; x < Size; x++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user