From 77a60147538275710318778335205a796269fad0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 31 Jan 2014 23:47:57 -0500 Subject: [PATCH] GApplication: Convert docs to markdown --- gio/gapplication.c | 38 ++++++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/gio/gapplication.c b/gio/gapplication.c index fd703dd..6a42399 100644 --- a/gio/gapplication.c +++ b/gio/gapplication.c @@ -116,12 +116,15 @@ * for remote access to exported #GMenuModels. * * There is a number of different entry points into a GApplication: - * - * via 'Activate' (i.e. just starting the application) - * via 'Open' (i.e. opening some files) - * by handling a command-line - * via activating an action - * + * + * - via 'Activate' (i.e. just starting the application) + * + * - via 'Open' (i.e. opening some files) + * + * - by handling a command-line + * + * - via activating an action + * * The #GApplication::startup signal lets you handle the application * 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 * reproduced here: - * - * Application identifiers must contain only the ASCII characters "[A-Z][a-z][0-9]_-." and must not begin with a digit. - * Application identifiers must contain at least one '.' (period) character (and thus at least three elements). - * 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. - * + * + * - Application identifiers must contain only the ASCII characters + * "[A-Z][a-z][0-9]_-." and must not begin with a digit. + * + * - Application identifiers must contain at least one '.' (period) + * character (and thus at least three elements). + * + * - 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 - **/ + */ gboolean g_application_id_is_valid (const gchar *application_id) { -- 2.7.4