mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-22 07:09:16 +02: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"
|
#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:
|
||||||
*
|
*
|
||||||
* #GSimplePermission is an opaque data structure. There are no methods
|
* `GSimplePermission` is a trivial implementation of [class@Gio.Permission]
|
||||||
* except for those defined by #GPermission.
|
* 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;
|
typedef GPermissionClass GSimplePermissionClass;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user