Avoid gtk-doc warnings: multiple ID for constraint linkend

This fixes the huge number of gtk-doc warnings that look like this:

    Warning: multiple "IDs" for constraint linkend: XdgAppRef

Based on:

    https://mail.gnome.org/archives/commits-list/2010-September/msg00222.html
tingping/wmclass
Sam Thursfield 2016-01-27 17:39:48 +01:00 committed by Alexander Larsson
parent f8d502ad19
commit 5c847d54fa
5 changed files with 10 additions and 10 deletions

View File

@ -25,7 +25,7 @@
#ifndef __XDG_APP_INSTALLATION_H__ #ifndef __XDG_APP_INSTALLATION_H__
#define __XDG_APP_INSTALLATION_H__ #define __XDG_APP_INSTALLATION_H__
typedef struct XdgAppInstallation XdgAppInstallation; typedef struct _XdgAppInstallation XdgAppInstallation;
#include <gio/gio.h> #include <gio/gio.h>
#include <xdg-app-installed-ref.h> #include <xdg-app-installed-ref.h>
@ -37,7 +37,7 @@ typedef struct XdgAppInstallation XdgAppInstallation;
XDG_APP_EXTERN GType xdg_app_installation_get_type (void); XDG_APP_EXTERN GType xdg_app_installation_get_type (void);
struct XdgAppInstallation { struct _XdgAppInstallation {
GObject parent; GObject parent;
}; };

View File

@ -25,7 +25,7 @@
#ifndef __XDG_APP_INSTALLED_REF_H__ #ifndef __XDG_APP_INSTALLED_REF_H__
#define __XDG_APP_INSTALLED_REF_H__ #define __XDG_APP_INSTALLED_REF_H__
typedef struct XdgAppInstalledRef XdgAppInstalledRef; typedef struct _XdgAppInstalledRef XdgAppInstalledRef;
#include <gio/gio.h> #include <gio/gio.h>
#include <xdg-app-ref.h> #include <xdg-app-ref.h>
@ -36,7 +36,7 @@ typedef struct XdgAppInstalledRef XdgAppInstalledRef;
XDG_APP_EXTERN GType xdg_app_installed_ref_get_type (void); XDG_APP_EXTERN GType xdg_app_installed_ref_get_type (void);
struct XdgAppInstalledRef { struct _XdgAppInstalledRef {
XdgAppRef parent; XdgAppRef parent;
}; };

View File

@ -25,7 +25,7 @@
#ifndef __XDG_APP_REF_H__ #ifndef __XDG_APP_REF_H__
#define __XDG_APP_REF_H__ #define __XDG_APP_REF_H__
typedef struct XdgAppRef XdgAppRef; typedef struct _XdgAppRef XdgAppRef;
#include <glib-object.h> #include <glib-object.h>
@ -35,7 +35,7 @@ typedef struct XdgAppRef XdgAppRef;
XDG_APP_EXTERN GType xdg_app_ref_get_type (void); XDG_APP_EXTERN GType xdg_app_ref_get_type (void);
struct XdgAppRef { struct _XdgAppRef {
GObject parent; GObject parent;
}; };

View File

@ -25,7 +25,7 @@
#ifndef __XDG_APP_REMOTE_REF_H__ #ifndef __XDG_APP_REMOTE_REF_H__
#define __XDG_APP_REMOTE_REF_H__ #define __XDG_APP_REMOTE_REF_H__
typedef struct XdgAppRemoteRef XdgAppRemoteRef; typedef struct _XdgAppRemoteRef XdgAppRemoteRef;
#include <gio/gio.h> #include <gio/gio.h>
#include <xdg-app-ref.h> #include <xdg-app-ref.h>
@ -36,7 +36,7 @@ typedef struct XdgAppRemoteRef XdgAppRemoteRef;
XDG_APP_EXTERN GType xdg_app_remote_ref_get_type (void); XDG_APP_EXTERN GType xdg_app_remote_ref_get_type (void);
struct XdgAppRemoteRef { struct _XdgAppRemoteRef {
XdgAppRef parent; XdgAppRef parent;
}; };

View File

@ -25,7 +25,7 @@
#ifndef __XDG_APP_REMOTE_H__ #ifndef __XDG_APP_REMOTE_H__
#define __XDG_APP_REMOTE_H__ #define __XDG_APP_REMOTE_H__
typedef struct XdgAppRemote XdgAppRemote; typedef struct _XdgAppRemote XdgAppRemote;
#include <gio/gio.h> #include <gio/gio.h>
#include <xdg-app-remote-ref.h> #include <xdg-app-remote-ref.h>
@ -36,7 +36,7 @@ typedef struct XdgAppRemote XdgAppRemote;
XDG_APP_EXTERN GType xdg_app_remote_get_type (void); XDG_APP_EXTERN GType xdg_app_remote_get_type (void);
struct XdgAppRemote { struct _XdgAppRemote {
GObject parent; GObject parent;
}; };