From 7b950944b0527152fe9d7a0bd712d2cfdd219e87 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 8 Nov 2012 18:40:38 -0500 Subject: [PATCH] gtkversion.h.in: Put the documentation inside the header guards This fixes a warning with gobject-introspecion scanning --- gtk/gtkversion.h.in | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gtk/gtkversion.h.in b/gtk/gtkversion.h.in index a08f00d4e..89706c5d7 100644 --- a/gtk/gtkversion.h.in +++ b/gtk/gtkversion.h.in @@ -22,6 +22,13 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_VERSION_H__ +#define __GTK_VERSION_H__ + /** * SECTION:gtkfeatures * @Short_description: Variables and functions to check the GTK+ version @@ -32,13 +39,6 @@ * use the features described here. */ -#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) -#error "Only can be included directly." -#endif - -#ifndef __GTK_VERSION_H__ -#define __GTK_VERSION_H__ - /** * GTK_MAJOR_VERSION: * -- 2.43.2