summaryrefslogtreecommitdiff
path: root/gtk/gtkmain.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkmain.h')
-rw-r--r--gtk/gtkmain.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/gtk/gtkmain.h b/gtk/gtkmain.h
index 150c10a0e5..9e92d60707 100644
--- a/gtk/gtkmain.h
+++ b/gtk/gtkmain.h
@@ -35,9 +35,7 @@
#include <gtk/gtkwindow.h>
#endif
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* Priorities for redrawing and resizing
*/
@@ -223,9 +221,6 @@ gboolean _gtk_boolean_handled_accumulator (GSignalInvocationHint *ihint,
gchar *_gtk_get_lc_ctype (void);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __GTK_MAIN_H__ */