summaryrefslogtreecommitdiff
path: root/gtk/gtkentry.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkentry.h')
-rw-r--r--gtk/gtkentry.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/gtk/gtkentry.h b/gtk/gtkentry.h
index 0c4c2aaa4e..6ba485aa8b 100644
--- a/gtk/gtkentry.h
+++ b/gtk/gtkentry.h
@@ -35,10 +35,7 @@
#include <gtk/gtkentrycompletion.h>
#include <pango/pango.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
#define GTK_TYPE_ENTRY (gtk_entry_get_type ())
#define GTK_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ENTRY, GtkEntry))
@@ -221,9 +218,6 @@ void _gtk_entry_get_borders (GtkEntry *entry,
gint *yborder);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __GTK_ENTRY_H__ */