]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkseparator.h
Make PLT-reduction work with gcc4, and don't include everything in
[~andy/gtk] / gtk / gtkseparator.h
index c0894fc49b59e2056816c51a0dd5fae02ca5ee1d..5ea35644319b062c15581320843b23d957bc4955 100644 (file)
 #include <gtk/gtkwidget.h>
 
 
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
 
 #define GTK_TYPE_SEPARATOR                  (gtk_separator_get_type ())
 #define GTK_SEPARATOR(obj)                  (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEPARATOR, GtkSeparator))
@@ -63,8 +60,6 @@ struct _GtkSeparatorClass
 GType  gtk_separator_get_type (void) G_GNUC_CONST;
 
 
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
 
 #endif /* __GTK_SEPARATOR_H__ */