X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkimcontext.h;h=ae4a71072a69e9bf28d32534878934e648e7c97f;hb=10862a344aa8fb44e6045343ddf65eb0d14cc1b2;hp=4ca114bcbff1ccd9a59a217b9d2f7be40aca943e;hpb=5d021465d6709bc1d6a5c9fca0a7a27546e4b8f1;p=~andy%2Fgtk diff --git a/gtk/gtkimcontext.h b/gtk/gtkimcontext.h index 4ca114bcb..ae4a71072 100644 --- a/gtk/gtkimcontext.h +++ b/gtk/gtkimcontext.h @@ -24,10 +24,7 @@ #include #include - -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS #define GTK_TYPE_IM_CONTEXT (gtk_im_context_get_type ()) #define GTK_IM_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IM_CONTEXT, GtkIMContext)) @@ -123,9 +120,6 @@ gboolean gtk_im_context_delete_surrounding (GtkIMContext *context, gint offset, gint n_chars); -#ifdef __cplusplus -} -#endif /* __cplusplus */ - +G_END_DECLS #endif /* __GTK_IM_CONTEXT_H__ */