summaryrefslogtreecommitdiff
path: root/gtk/gtklist.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtklist.h')
-rw-r--r--gtk/gtklist.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/gtk/gtklist.h b/gtk/gtklist.h
index e4e15bd94b..4023f2e74d 100644
--- a/gtk/gtklist.h
+++ b/gtk/gtklist.h
@@ -35,10 +35,7 @@
#include <gtk/gtkcontainer.h>
#include <gtk/gtklistitem.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
#define GTK_TYPE_LIST (gtk_list_get_type ())
#define GTK_LIST(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_LIST, GtkList))
@@ -138,10 +135,7 @@ void gtk_list_toggle_row (GtkList *list,
void gtk_list_undo_selection (GtkList *list);
void gtk_list_end_drag_selection (GtkList *list);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __GTK_LIST_H__ */