--- np2/x11/gtk2/gtk_main.c 2011/01/15 16:01:53 1.12 +++ np2/x11/gtk2/gtk_main.c 2011/12/17 19:55:48 1.15 @@ -1,7 +1,5 @@ -/* $Id: gtk_main.c,v 1.12 2011/01/15 16:01:53 monaka Exp $ */ - /* - * Copyright (c) 2004 NONAKA Kimihiro + * Copyright (c) 2004 NONAKA Kimihiro * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -315,7 +313,7 @@ gui_gtk_widget_create(void) set_icon_bitmap(main_window); g_signal_connect(GTK_OBJECT(main_window), "destroy", - G_CALLBACK(destroy_evhandler), "WM destroy"); + G_CALLBACK(destroy_evhandler), (gpointer)"WM destroy"); g_signal_connect(GTK_OBJECT(main_window), "key_press_event", G_CALLBACK(key_press_evhandler), NULL); g_signal_connect(GTK_OBJECT(main_window), "key_release_event",