summaryrefslogtreecommitdiff
path: root/gtk/gtkselection.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkselection.h')
-rw-r--r--gtk/gtkselection.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/gtk/gtkselection.h b/gtk/gtkselection.h
index 49e906fa6a..70985b8435 100644
--- a/gtk/gtkselection.h
+++ b/gtk/gtkselection.h
@@ -32,9 +32,7 @@
#include <gtk/gtkenums.h>
#include <gtk/gtkwidget.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
typedef struct _GtkTargetList GtkTargetList;
typedef struct _GtkTargetEntry GtkTargetEntry;
@@ -181,10 +179,6 @@ GtkSelectionData *gtk_selection_data_copy (GtkSelectionData *data);
void gtk_selection_data_free (GtkSelectionData *data);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __GTK_SELECTION_H__ */