mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
docs: Move the GSimplePermission SECTION
Move it to the struct docs. Signed-off-by: Philip Withnall <philip@tecnocode.co.uk> Helps: #3037
This commit is contained in:
parent
2fc8f47358
commit
0b0179678a
@ -25,24 +25,15 @@
|
||||
#include "gpermission.h"
|
||||
|
||||
|
||||
/**
|
||||
* SECTION:gsimplepermission
|
||||
* @title: GSimplePermission
|
||||
* @short_description: A GPermission that doesn't change value
|
||||
* @include: gio/gio.h
|
||||
*
|
||||
* #GSimplePermission is a trivial implementation of #GPermission that
|
||||
* represents a permission that is either always or never allowed. The
|
||||
* value is given at construction and doesn't change.
|
||||
*
|
||||
* Calling request or release will result in errors.
|
||||
**/
|
||||
|
||||
/**
|
||||
* GSimplePermission:
|
||||
*
|
||||
* #GSimplePermission is an opaque data structure. There are no methods
|
||||
* except for those defined by #GPermission.
|
||||
* `GSimplePermission` is a trivial implementation of [class@Gio.Permission]
|
||||
* that represents a permission that is either always or never allowed. The
|
||||
* value is given at construction and doesn’t change.
|
||||
*
|
||||
* Calling [method@Gio.Permission.acquire] or [method@Gio.Permission.release]
|
||||
* on a `GSimplePermission` will result in errors.
|
||||
**/
|
||||
|
||||
typedef GPermissionClass GSimplePermissionClass;
|
||||
|
Loading…
Reference in New Issue
Block a user