summaryrefslogtreecommitdiff
path: root/gtk/gtkhpaned.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkhpaned.h')
-rw-r--r--gtk/gtkhpaned.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/gtk/gtkhpaned.h b/gtk/gtkhpaned.h
index 2aed5aefe2..2272dfd4a7 100644
--- a/gtk/gtkhpaned.h
+++ b/gtk/gtkhpaned.h
@@ -29,9 +29,7 @@
#include <gtk/gtkpaned.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GTK_TYPE_HPANED (gtk_hpaned_get_type ())
#define GTK_HPANED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_HPANED, GtkHPaned))
@@ -57,8 +55,6 @@ struct _GtkHPanedClass
GType gtk_hpaned_get_type (void) G_GNUC_CONST;
GtkWidget *gtk_hpaned_new (void);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GTK_HPANED_H__ */