summaryrefslogtreecommitdiff
path: root/gtk/gtkmodules.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkmodules.h')
-rw-r--r--gtk/gtkmodules.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkmodules.h b/gtk/gtkmodules.h
index c7ebd395a7..bd157f79a7 100644
--- a/gtk/gtkmodules.h
+++ b/gtk/gtkmodules.h
@@ -23,9 +23,9 @@
#include <gtk/gtksettings.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+
+G_BEGIN_DECLS
+
/* Functions for use within GTK+
*/
@@ -43,8 +43,8 @@ typedef void (*GtkModuleInitFunc) (gint *argc,
gchar ***argv);
typedef void (*GtkModuleDisplayInitFunc) (GdkDisplay *display);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+
+G_END_DECLS
+
#endif /* __GTK_MODULES_H__ */