wmshutdown: Fix 'unused parameter' compiler warnings.
This commit is contained in:
parent
1b9fd1dbe5
commit
2644a1e8f5
|
@ -59,6 +59,7 @@ GtkWidget *cria_dock(GtkWidget *mw, unsigned int s)
|
|||
GdkDisplay *display;
|
||||
GtkWidget *foobox;
|
||||
|
||||
(void) s;
|
||||
display = gdk_display_get_default();
|
||||
foobox = gtk_window_new(GTK_WINDOW_POPUP);
|
||||
|
||||
|
@ -149,6 +150,8 @@ void button_press(GtkWidget *widget, GdkEvent *event)
|
|||
GtkWidget *reboot_button;
|
||||
GtkWidget *cancel_button;
|
||||
|
||||
(void) widget;
|
||||
|
||||
GdkEventButton *bevent = (GdkEventButton *)event;
|
||||
switch (bevent->button) {
|
||||
case 1:
|
||||
|
|
Loading…
Reference in a new issue