Add a stub long description

This commit is contained in:
Matthias Clasen 2010-04-13 23:17:31 -04:00
parent e5e94c4890
commit fe3e6f85be
2 changed files with 17 additions and 5 deletions

View File

@ -22,6 +22,14 @@
#include "gioalias.h" #include "gioalias.h"
/**
* SECTION:gsettings
* @short_description: a high-level API for application settings
*
* The #GSettings class provides a convenient API for storing and retrieving
* application settings.
*/
struct _GSettingsPrivate { struct _GSettingsPrivate {
GSettingsBackend *backend; GSettingsBackend *backend;
gchar *base_path; gchar *base_path;

View File

@ -8,6 +8,8 @@
* See the included COPYING file for more information. * See the included COPYING file for more information.
*/ */
#include "config.h"
#include "gsettingsbackend.h" #include "gsettingsbackend.h"
#include "gmemorysettingsbackend.h" #include "gmemorysettingsbackend.h"
#include "giomodule-priv.h" #include "giomodule-priv.h"
@ -16,6 +18,7 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <glib.h> #include <glib.h>
#include <glibintl.h>
#include "gioalias.h" #include "gioalias.h"
@ -389,11 +392,12 @@ g_settings_backend_class_init (GSettingsBackendClass *class)
* Since: 2.26 * Since: 2.26
*/ */
g_object_class_install_property (gobject_class, PROP_CONTEXT, g_object_class_install_property (gobject_class, PROP_CONTEXT,
g_param_spec_string ("context", g_param_spec_string ("context",
"Context", P_("Context"),
"A context to use when deciding which storage to use", P_("A context to use when deciding which storage to use"),
NULL, NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
} }