From: Matthias Clasen Date: Thu, 6 Feb 2014 03:37:54 +0000 (-0500) Subject: Stop using starttag elements X-Git-Tag: 2.39.90~61 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4569b8ac2d7305fd7e26fd8b6bd1ecedd1fcbb02;p=platform%2Fupstream%2Fglib.git Stop using starttag elements --- diff --git a/gio/gdbusintrospection.c b/gio/gdbusintrospection.c index 44bb7ae..17f1cb1 100644 --- a/gio/gdbusintrospection.c +++ b/gio/gdbusintrospection.c @@ -1757,7 +1757,7 @@ parser_error (GMarkupParseContext *context, * Parses @xml_data and returns a #GDBusNodeInfo representing the data. * * The introspection XML must contain exactly one top-level - * node element. + * <node> element. * * Note that this routine is using a * GMarkup-based diff --git a/gio/gsettings.c b/gio/gsettings.c index 594ee94..4e171ba 100644 --- a/gio/gsettings.c +++ b/gio/gsettings.c @@ -86,10 +86,9 @@ * Similar to GConf, the default values in GSettings schemas can be * localized, but the localized values are stored in gettext catalogs * and looked up with the domain that is specified in the - * gettext-domain attribute of the - * schemalist or schema - * elements and the category that is specified in the l10n attribute of the - * key element. + * gettext-domain attribute of the <schemalist> or <schema> + * elements and the category that is specified in the l10n attribute of + * the <key> element. * * GSettings uses schemas in a compact binary form that is created * by the glib-compile-schemas @@ -101,19 +100,18 @@ * The glib-compile-schemas * tool expects schema files to have the extension `.gschema.xml`. * - * At runtime, schemas are identified by their id (as specified - * in the id attribute of the - * schema element). The - * convention for schema ids is to use a dotted name, similar in - * style to a D-Bus bus name, e.g. "org.gnome.SessionManager". In particular, - * if the settings are for a specific service that owns a D-Bus bus name, - * the D-Bus bus name and schema id should match. For schemas which deal - * with settings not associated with one named application, the id should - * not use StudlyCaps, e.g. "org.gnome.font-rendering". - * - * In addition to #GVariant types, keys can have types that have enumerated - * types. These can be described by a choice, - * enum or flags element, see + * At runtime, schemas are identified by their id (as specified in the + * id attribute of the <schema> element). The convention for schema + * ids is to use a dotted name, similar in style to a D-Bus bus name, + * e.g. "org.gnome.SessionManager". In particular, if the settings are + * for a specific service that owns a D-Bus bus name, the D-Bus bus name + * and schema id should match. For schemas which deal with settings not + * associated with one named application, the id should not use + * StudlyCaps, e.g. "org.gnome.font-rendering". + * + * In addition to #GVariant types, keys can have types that have + * enumerated types. These can be described by a <choice>, + * <enum> or <flags> element, see * . The underlying type of * such a key is string, but you can use g_settings_get_enum(), * g_settings_set_enum(), g_settings_get_flags(), g_settings_set_flags() @@ -2181,7 +2179,7 @@ g_settings_is_writable (GSettings *settings, * base-path is the base path of @settings. * * The schema for the child settings object must have been declared - * in the schema of @settings using a child element. + * in the schema of @settings using a <child> element. * * Returns: (transfer full): a 'child' settings object *