--- np2/x11/gtk2/window_keydisp.c 2009/03/05 11:50:39 1.4 +++ np2/x11/gtk2/window_keydisp.c 2011/01/15 18:43:14 1.6 @@ -1,5 +1,3 @@ -/* $Id: window_keydisp.c,v 1.4 2009/03/05 11:50:39 monaka Exp $ */ - #include "compiler.h" #if defined(SUPPORT_KEYDISP) @@ -42,9 +40,6 @@ static void kdispwin_window_destroy(GtkWidget *w, gpointer p) { - UNUSED(w); - UNUSED(p); - if (kdwin.window) kdwin.window = NULL; drawmng_release(kdwin.hdl); @@ -59,10 +54,6 @@ static void close_window(gpointer data, guint action, GtkWidget *w) { - UNUSED(data); - UNUSED(action); - UNUSED(w); - xmenu_toggle_item(kdwin.menuhdl, "keydisp", FALSE); } @@ -70,9 +61,6 @@ static void change_module(gpointer data, guint action, GtkWidget *w) { - UNUSED(data); - UNUSED(w); - if (kdispcfg.mode != action) { kdispcfg.mode = action; sysmng_update(SYS_UPDATEOSCFG); @@ -135,8 +123,6 @@ static gint kdispwin_expose(GtkWidget *w, GdkEventExpose *ev) { - UNUSED(w); - if (ev->type == GDK_EXPOSE) { if (ev->count == 0) { drawkeys(); @@ -154,8 +140,6 @@ static UINT8 getpal8(CMNPALFN *self, UINT num) { - UNUSED(self); - if (num < KEYDISP_PALS) { return kdwinpal[num] >> 24; } @@ -166,8 +150,6 @@ static UINT32 getpal32(CMNPALFN *self, UINT num) { - UNUSED(self); - if (num < KEYDISP_PALS) { return kdwinpal[num] & 0xffffff; } @@ -178,8 +160,6 @@ static UINT16 cnvpal16(CMNPALFN *self, RGB32 pal32) { - UNUSED(self); - return (UINT16)drawmng_makepal16(&kdwin.hdl->pal16mask, pal32); }