Commit d1e9b6fd authored by Guido Gunther's avatar Guido Gunther
Browse files

Use _HANDY_INSIDE instead of HANDY_INSIDE

This makes gtk-doc ignore the macro which avoids these warnings (and
dead index entries):

    Building documentation for libhandy
    html/api-index-full.html:265: warning: no link for: "HANDY-INSIDE:CAPS" -> (HANDY_INSIDE).
    html/api-index-full.html:265: warning: no link for: "libhandy-handy" -> (handy).
parent 12bf6ed3
......@@ -19,7 +19,7 @@ G_BEGIN_DECLS
# error "libhandy requires glib-2.0 >= 2.50.0"
#endif
#define HANDY_INSIDE
#define _HANDY_INSIDE
#ifndef HANDY_USE_UNSTABLE_API
#error libhandy is unstable API. You must define HANDY_USE_UNSTABLE_API before including handy.h
......@@ -35,7 +35,7 @@ G_BEGIN_DECLS
#include "hdy-leaflet.h"
#include "hdy-string-utf8.h"
#undef HANDY_INSIDE
#undef _HANDY_INSIDE
G_END_DECLS
......
......@@ -7,7 +7,7 @@
#ifndef HDY_ARROWS_H
#define HDY_ARROWS_H
#if !defined(HANDY_INSIDE) && !defined(HANDY_COMPILATION)
#if !defined(_HANDY_INSIDE) && !defined(HANDY_COMPILATION)
#error "Only <handy.h> can be included directly."
#endif
......
......@@ -7,7 +7,7 @@
#ifndef HDY_DIALER_BUTTON_H
#define HDY_DIALER_BUTTON_H
#if !defined(HANDY_INSIDE) && !defined(HANDY_COMPILATION)
#if !defined(_HANDY_INSIDE) && !defined(HANDY_COMPILATION)
#error "Only <handy.h> can be included directly."
#endif
......
......@@ -7,7 +7,7 @@
#ifndef HDY_DIALER_CYCLE_BUTTON_H
#define HDY_DIALER_CYCLE_BUTTON_H
#if !defined(HANDY_INSIDE) && !defined(HANDY_COMPILATION)
#if !defined(_HANDY_INSIDE) && !defined(HANDY_COMPILATION)
#error "Only <handy.h> can be included directly."
#endif
......
......@@ -7,7 +7,7 @@
#ifndef HDY_DIALER_H
#define HDY_DIALER_H
#if !defined(HANDY_INSIDE) && !defined(HANDY_COMPILATION)
#if !defined(_HANDY_INSIDE) && !defined(HANDY_COMPILATION)
#error "Only <handy.h> can be included directly."
#endif
......
......@@ -2,7 +2,7 @@
#ifndef HDY_ENUMS_H
#define HDY_ENUMS_H
#if !defined(HANDY_INSIDE) && !defined(HANDY_COMPILATION)
#if !defined(_HANDY_INSIDE) && !defined(HANDY_COMPILATION)
#error "Only <handy.h> can be included directly."
#endif
......
......@@ -7,7 +7,7 @@
#ifndef HDY_FOLD_H
#define HDY_FOLD_H
#if !defined(HANDY_INSIDE) && !defined(HANDY_COMPILATION)
#if !defined(_HANDY_INSIDE) && !defined(HANDY_COMPILATION)
#error "Only <handy.h> can be included directly."
#endif
......
......@@ -7,7 +7,7 @@
#ifndef HDY_LEAFLET_H
#define HDY_LEAFLET_H
#if !defined(HANDY_INSIDE) && !defined(HANDY_COMPILATION)
#if !defined(_HANDY_INSIDE) && !defined(HANDY_COMPILATION)
#error "Only <handy.h> can be included directly."
#endif
......
......@@ -7,7 +7,7 @@
#ifndef HDY_STRING_UTF8_H
#define HDY_STRING_UTF8_H
#if !defined(HANDY_INSIDE) && !defined(HANDY_COMPILATION)
#if !defined(_HANDY_INSIDE) && !defined(HANDY_COMPILATION)
#error "Only <handy.h> can be included directly."
#endif
......
......@@ -7,7 +7,7 @@
#ifndef HDY_VERSION_H
#define HDY_VERSION_H
#if !defined(HANDY_INSIDE) && !defined(HANDY_COMPILATION)
#if !defined(_HANDY_INSIDE) && !defined(HANDY_COMPILATION)
#error "Only <handy.h> can be included directly."
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment