[libwnck] version: avoid documentation warning



commit 278c90d0e6c07c561f631102842abfaed8de46df
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Oct 30 15:03:15 2016 +0200

    version: avoid documentation warning
    
    version.h:24: Warning: Wnck: multiple comment blocks documenting
    'SECTION:version:' identifier (already seen at version.h:24).

 libwnck/version.h.in |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/libwnck/version.h.in b/libwnck/version.h.in
index 46fd52d..8b46488 100644
--- a/libwnck/version.h.in
+++ b/libwnck/version.h.in
@@ -21,6 +21,13 @@
  *      Vincent Untz <vuntz gnome org>
  */
 
+#if !defined (__LIBWNCK_H_INSIDE__) && !defined (WNCK_COMPILATION)
+#error "Only <libwnck/libwnck.h> can be included directly."
+#endif
+
+#ifndef WNCK_VERSION_H
+#define WNCK_VERSION_H
+
 /**
  * SECTION:version
  * @Short_description: variables and functions to check the libwnck version
@@ -31,13 +38,6 @@
  * versions of libwnck that do not provide the same API.
  */
 
-#if !defined (__LIBWNCK_H_INSIDE__) && !defined (WNCK_COMPILATION)
-#error "Only <libwnck/libwnck.h> can be included directly."
-#endif
-
-#ifndef WNCK_VERSION_H
-#define WNCK_VERSION_H
-
 /**
  * WNCK_MAJOR_VERSION:
  *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]