From fe3e6f85be4956ca4bbc34f914a3e02845a22504 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 13 Apr 2010 23:17:31 -0400 Subject: [PATCH] Add a stub long description --- gio/gsettings.c | 8 ++++++++ gio/gsettingsbackend.c | 14 +++++++++----- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/gio/gsettings.c b/gio/gsettings.c index 8303b1f5a..92664267c 100644 --- a/gio/gsettings.c +++ b/gio/gsettings.c @@ -22,6 +22,14 @@ #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 { GSettingsBackend *backend; gchar *base_path; diff --git a/gio/gsettingsbackend.c b/gio/gsettingsbackend.c index e1018f215..a348dd193 100644 --- a/gio/gsettingsbackend.c +++ b/gio/gsettingsbackend.c @@ -8,6 +8,8 @@ * See the included COPYING file for more information. */ +#include "config.h" + #include "gsettingsbackend.h" #include "gmemorysettingsbackend.h" #include "giomodule-priv.h" @@ -16,6 +18,7 @@ #include #include #include +#include #include "gioalias.h" @@ -389,11 +392,12 @@ g_settings_backend_class_init (GSettingsBackendClass *class) * Since: 2.26 */ g_object_class_install_property (gobject_class, PROP_CONTEXT, - g_param_spec_string ("context", - "Context", - "A context to use when deciding which storage to use", - NULL, - G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); + g_param_spec_string ("context", + P_("Context"), + P_("A context to use when deciding which storage to use"), + NULL, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); }