mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 17:08:53 +02:00
GApplication: Convert docs to markdown
This commit is contained in:
@@ -116,12 +116,15 @@
|
|||||||
* for remote access to exported #GMenuModels.
|
* for remote access to exported #GMenuModels.
|
||||||
*
|
*
|
||||||
* There is a number of different entry points into a GApplication:
|
* There is a number of different entry points into a GApplication:
|
||||||
* <itemizedlist>
|
*
|
||||||
* <listitem>via 'Activate' (i.e. just starting the application)</listitem>
|
* - via 'Activate' (i.e. just starting the application)
|
||||||
* <listitem>via 'Open' (i.e. opening some files)</listitem>
|
*
|
||||||
* <listitem>by handling a command-line</listitem>
|
* - via 'Open' (i.e. opening some files)
|
||||||
* <listitem>via activating an action</listitem>
|
*
|
||||||
* </itemizedlist>
|
* - by handling a command-line
|
||||||
|
*
|
||||||
|
* - via activating an action
|
||||||
|
*
|
||||||
* The #GApplication::startup signal lets you handle the application
|
* The #GApplication::startup signal lets you handle the application
|
||||||
* initialization for all of these in a single place.
|
* initialization for all of these in a single place.
|
||||||
*
|
*
|
||||||
@@ -918,16 +921,23 @@ get_platform_data (GApplication *application)
|
|||||||
*
|
*
|
||||||
* For convenience, the restrictions on application identifiers are
|
* For convenience, the restrictions on application identifiers are
|
||||||
* reproduced here:
|
* reproduced here:
|
||||||
* <itemizedlist>
|
*
|
||||||
* <listitem>Application identifiers must contain only the ASCII characters "[A-Z][a-z][0-9]_-." and must not begin with a digit.</listitem>
|
* - Application identifiers must contain only the ASCII characters
|
||||||
* <listitem>Application identifiers must contain at least one '.' (period) character (and thus at least three elements).</listitem>
|
* "[A-Z][a-z][0-9]_-." and must not begin with a digit.
|
||||||
* <listitem>Application identifiers must not begin or end with a '.' (period) character.</listitem>
|
*
|
||||||
* <listitem>Application identifiers must not contain consecutive '.' (period) characters.</listitem>
|
* - Application identifiers must contain at least one '.' (period)
|
||||||
* <listitem>Application identifiers must not exceed 255 characters.</listitem>
|
* character (and thus at least three elements).
|
||||||
* </itemizedlist>
|
*
|
||||||
|
* - Application identifiers must not begin or end with a '.' (period)
|
||||||
|
* character.
|
||||||
|
*
|
||||||
|
* - Application identifiers must not contain consecutive '.' (period)
|
||||||
|
* characters.
|
||||||
|
*
|
||||||
|
* - Application identifiers must not exceed 255 characters.
|
||||||
*
|
*
|
||||||
* Returns: %TRUE if @application_id is valid
|
* Returns: %TRUE if @application_id is valid
|
||||||
**/
|
*/
|
||||||
gboolean
|
gboolean
|
||||||
g_application_id_is_valid (const gchar *application_id)
|
g_application_id_is_valid (const gchar *application_id)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user