giotypes: Drop redundant duplicate documentation blocks

This fixes a load of warnings about ‘multiple comment blocks documenting
<something> identifier’.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

Helps: #3037
This commit is contained in:
Philip Withnall 2023-11-15 11:55:34 +00:00
parent 6e4d50fa5c
commit 6d2f63ecf1
3 changed files with 4 additions and 87 deletions

View File

@ -65,11 +65,6 @@ typedef struct _GPermission GPermission;
typedef struct _GMenuModel GMenuModel; typedef struct _GMenuModel GMenuModel;
typedef struct _GNotification GNotification; typedef struct _GNotification GNotification;
/**
* GDrive:
*
* Opaque drive object.
**/
typedef struct _GDrive GDrive; /* Dummy typedef */ typedef struct _GDrive GDrive; /* Dummy typedef */
typedef struct _GFileEnumerator GFileEnumerator; typedef struct _GFileEnumerator GFileEnumerator;
typedef struct _GFileMonitor GFileMonitor; typedef struct _GFileMonitor GFileMonitor;
@ -121,11 +116,6 @@ typedef struct _GBytesIcon GBytesIcon;
typedef struct _GMemoryInputStream GMemoryInputStream; typedef struct _GMemoryInputStream GMemoryInputStream;
typedef struct _GMemoryOutputStream GMemoryOutputStream; typedef struct _GMemoryOutputStream GMemoryOutputStream;
/**
* GMount:
*
* A handle to an object implementing the #GMountIface interface.
**/
typedef struct _GMount GMount; /* Dummy typedef */ typedef struct _GMount GMount; /* Dummy typedef */
typedef struct _GMountOperation GMountOperation; typedef struct _GMountOperation GMountOperation;
typedef struct _GNetworkAddress GNetworkAddress; typedef struct _GNetworkAddress GNetworkAddress;
@ -138,82 +128,24 @@ typedef struct _GPollableInputStream GPollableInputStream; /* Dummy typ
typedef struct _GPollableOutputStream GPollableOutputStream; /* Dummy typedef */ typedef struct _GPollableOutputStream GPollableOutputStream; /* Dummy typedef */
typedef struct _GResolver GResolver; typedef struct _GResolver GResolver;
/**
* GResource:
*
* A resource bundle.
*
* Since: 2.32
*/
typedef struct _GResource GResource; typedef struct _GResource GResource;
typedef struct _GSeekable GSeekable; typedef struct _GSeekable GSeekable;
typedef struct _GSimpleAsyncResult GSimpleAsyncResult; typedef struct _GSimpleAsyncResult GSimpleAsyncResult;
/**
* GSocket:
*
* A lowlevel network socket object.
*
* Since: 2.22
**/
typedef struct _GSocket GSocket; typedef struct _GSocket GSocket;
typedef struct _GSocketControlMessage GSocketControlMessage; typedef struct _GSocketControlMessage GSocketControlMessage;
/**
* GSocketClient:
*
* A helper class for network clients to make connections.
*
* Since: 2.22
**/
typedef struct _GSocketClient GSocketClient; typedef struct _GSocketClient GSocketClient;
/**
* GSocketConnection:
*
* A socket connection GIOStream object for connection-oriented sockets.
*
* Since: 2.22
**/
typedef struct _GSocketConnection GSocketConnection; typedef struct _GSocketConnection GSocketConnection;
/**
* GSocketListener:
*
* A helper class for network servers to listen for and accept connections.
*
* Since: 2.22
**/
typedef struct _GSocketListener GSocketListener; typedef struct _GSocketListener GSocketListener;
/**
* GSocketService:
*
* A helper class for handling accepting incoming connections in the
* glib mainloop.
*
* Since: 2.22
**/
typedef struct _GSocketService GSocketService; typedef struct _GSocketService GSocketService;
typedef struct _GSocketAddress GSocketAddress; typedef struct _GSocketAddress GSocketAddress;
typedef struct _GSocketAddressEnumerator GSocketAddressEnumerator; typedef struct _GSocketAddressEnumerator GSocketAddressEnumerator;
typedef struct _GSocketConnectable GSocketConnectable; typedef struct _GSocketConnectable GSocketConnectable;
typedef struct _GSrvTarget GSrvTarget; typedef struct _GSrvTarget GSrvTarget;
typedef struct _GTask GTask; typedef struct _GTask GTask;
/**
* GTcpConnection:
*
* A #GSocketConnection for TCP/IP connections.
*
* Since: 2.22
**/
typedef struct _GTcpConnection GTcpConnection; typedef struct _GTcpConnection GTcpConnection;
typedef struct _GTcpWrapperConnection GTcpWrapperConnection; typedef struct _GTcpWrapperConnection GTcpWrapperConnection;
/**
* GThreadedSocketService:
*
* A helper class for handling accepting incoming connections in the
* glib mainloop and handling them in a thread.
*
* Since: 2.22
**/
typedef struct _GThreadedSocketService GThreadedSocketService; typedef struct _GThreadedSocketService GThreadedSocketService;
typedef struct _GDtlsConnection GDtlsConnection; typedef struct _GDtlsConnection GDtlsConnection;
typedef struct _GDtlsClientConnection GDtlsClientConnection; /* Dummy typedef */ typedef struct _GDtlsClientConnection GDtlsClientConnection; /* Dummy typedef */
@ -229,23 +161,11 @@ typedef struct _GTlsPassword GTlsPassword;
typedef struct _GTlsServerConnection GTlsServerConnection; /* Dummy typedef */ typedef struct _GTlsServerConnection GTlsServerConnection; /* Dummy typedef */
typedef struct _GVfs GVfs; /* Dummy typedef */ typedef struct _GVfs GVfs; /* Dummy typedef */
/**
* GProxyResolver:
*
* A helper class to enumerate proxies base on URI.
*
* Since: 2.26
**/
typedef struct _GProxyResolver GProxyResolver; typedef struct _GProxyResolver GProxyResolver;
typedef struct _GProxy GProxy; typedef struct _GProxy GProxy;
typedef struct _GProxyAddress GProxyAddress; typedef struct _GProxyAddress GProxyAddress;
typedef struct _GProxyAddressEnumerator GProxyAddressEnumerator; typedef struct _GProxyAddressEnumerator GProxyAddressEnumerator;
/**
* GVolume:
*
* Opaque mountable volume object.
**/
typedef struct _GVolume GVolume; /* Dummy typedef */ typedef struct _GVolume GVolume; /* Dummy typedef */
typedef struct _GVolumeMonitor GVolumeMonitor; typedef struct _GVolumeMonitor GVolumeMonitor;
@ -631,13 +551,6 @@ typedef GType (*GDBusProxyTypeFunc) (GDBusObjectManagerClient *manager,
typedef struct _GTestDBus GTestDBus; typedef struct _GTestDBus GTestDBus;
typedef struct _GSubprocess GSubprocess; typedef struct _GSubprocess GSubprocess;
/**
* GSubprocessLauncher:
*
* Options for launching a child process.
*
* Since: 2.40
*/
typedef struct _GSubprocessLauncher GSubprocessLauncher; typedef struct _GSubprocessLauncher GSubprocessLauncher;
G_END_DECLS G_END_DECLS

View File

@ -46,6 +46,8 @@
* [libproxy](https://github.com/libproxy/libproxy) and GNOME settings can be * [libproxy](https://github.com/libproxy/libproxy) and GNOME settings can be
* found in [glib-networking](https://gitlab.gnome.org/GNOME/glib-networking). * found in [glib-networking](https://gitlab.gnome.org/GNOME/glib-networking).
* GIO comes with an implementation for use inside Flatpak portals. * GIO comes with an implementation for use inside Flatpak portals.
*
* Since: 2.26
*/ */
/** /**

View File

@ -41,6 +41,8 @@
* As with [class@Gio.SocketService], you may connect to * As with [class@Gio.SocketService], you may connect to
* [signal@Gio.ThreadedSocketService::run], or subclass and override the default * [signal@Gio.ThreadedSocketService::run], or subclass and override the default
* handler. * handler.
*
* Since: 2.22
*/ */
#include "config.h" #include "config.h"