wmshutdown: Fix 'unused parameter' compiler warnings.

This commit is contained in:
Doug Torrance 2015-06-12 21:49:14 -05:00 committed by Carlos R. Mafra
parent 1b9fd1dbe5
commit 2644a1e8f5

View file

@ -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: