summaryrefslogtreecommitdiff
path: root/gtk/gtkpixmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkpixmap.h')
-rw-r--r--gtk/gtkpixmap.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/gtk/gtkpixmap.h b/gtk/gtkpixmap.h
index f9e058de48..1bb4f85434 100644
--- a/gtk/gtkpixmap.h
+++ b/gtk/gtkpixmap.h
@@ -34,10 +34,7 @@
#include <gtk/gtkmisc.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
#define GTK_TYPE_PIXMAP (gtk_pixmap_get_type ())
#define GTK_PIXMAP(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_PIXMAP, GtkPixmap))
@@ -81,10 +78,7 @@ void gtk_pixmap_set_build_insensitive (GtkPixmap *pixmap,
gboolean build);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __GTK_PIXMAP_H__ */