]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkimcontext.h
Fix a compiler warning.
[~andy/gtk] / gtk / gtkimcontext.h
index 4ca114bcbff1ccd9a59a217b9d2f7be40aca943e..ae4a71072a69e9bf28d32534878934e648e7c97f 100644 (file)
 #include <gtk/gtkobject.h>
 #include <pango/pango.h>
 
-
-#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__ */