--- np2/x11/gtk2/xnp2.h 2009/03/05 11:50:39 1.6 +++ np2/x11/gtk2/xnp2.h 2011/01/15 19:16:59 1.8 @@ -1,5 +1,3 @@ -/* $Id: xnp2.h,v 1.6 2009/03/05 11:50:39 monaka Exp $ */ - /* * Copyright (c) 2003 NONAKA Kimihiro * All rights reserved. @@ -46,9 +44,7 @@ #include #include -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS extern GtkWidget *main_window; extern GtkWidget *drawarea; @@ -69,8 +65,6 @@ gboolean gtk_window_init_fullscreen(GtkW void gtk_window_fullscreen_mode(GtkWidget *widget); void gtk_window_restore_mode(GtkWidget *widget); -#ifdef __cplusplus -} -#endif +G_END_DECLS #endif /* NP2_GTK2_XNP2_H__ */