summaryrefslogtreecommitdiff
path: root/gtk/gtkctree.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkctree.h')
-rw-r--r--gtk/gtkctree.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/gtk/gtkctree.h b/gtk/gtkctree.h
index 9f6bd2a7e6..a67ee5f9a1 100644
--- a/gtk/gtkctree.h
+++ b/gtk/gtkctree.h
@@ -35,9 +35,7 @@
#include <gtk/gtkclist.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GTK_TYPE_CTREE (gtk_ctree_get_type ())
#define GTK_CTREE(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_CTREE, GtkCTree))
@@ -440,9 +438,7 @@ void gtk_ctree_sort_recursive (GtkCTree *ctree,
*/
GType gtk_ctree_node_get_type (void) G_GNUC_CONST;
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GTK_CTREE_H__ */