--- np2/x11/gtk2/xnp2.h 2007/01/12 19:09:58 1.4 +++ np2/x11/gtk2/xnp2.h 2011/06/02 12:56:11 1.9 @@ -1,5 +1,3 @@ -/* $Id: xnp2.h,v 1.4 2007/01/12 19:09:58 monaka Exp $ */ - /* * Copyright (c) 2003 NONAKA Kimihiro * All rights reserved. @@ -28,19 +26,10 @@ #ifndef NP2_GTK2_XNP2_H__ #define NP2_GTK2_XNP2_H__ -#ifndef GDK_DISABLE_DEPRECATED -#define GDK_DISABLE_DEPRECATED -#endif -#ifndef GTK_DISABLE_DEPRECATED -#define GTK_DISABLE_DEPRECATED -#endif - #include #include -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS extern GtkWidget *main_window; extern GtkWidget *drawarea; @@ -61,8 +50,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__ */