summaryrefslogtreecommitdiff
path: root/gtk/gtkadjustment.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkadjustment.h')
-rw-r--r--gtk/gtkadjustment.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/gtk/gtkadjustment.h b/gtk/gtkadjustment.h
index d79fee5887..1fe3e4ae8b 100644
--- a/gtk/gtkadjustment.h
+++ b/gtk/gtkadjustment.h
@@ -31,11 +31,7 @@
#include <gdk/gdk.h>
#include <gtk/gtkobject.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
#define GTK_TYPE_ADJUSTMENT (gtk_adjustment_get_type ())
#define GTK_ADJUSTMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ADJUSTMENT, GtkAdjustment))
@@ -91,9 +87,6 @@ gdouble gtk_adjustment_get_value (GtkAdjustment *adjustment);
void gtk_adjustment_set_value (GtkAdjustment *adjustment,
gdouble value);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __GTK_ADJUSTMENT_H__ */