X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgmemorysettingsbackend.c;h=b0d58b5681886f0d3aadea18643c597630b669d5;hb=2138deb07ebb7d7e541c0cd35b966e107d1bf800;hp=5d747b5bb55d7acc012f986189bc54760fc12da7;hpb=d8ca6404229e5b64d2bf2e1a3660ad9fe7feefdd;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gmemorysettingsbackend.c b/gio/gmemorysettingsbackend.c index 5d747b5..b0d58b5 100644 --- a/gio/gmemorysettingsbackend.c +++ b/gio/gmemorysettingsbackend.c @@ -12,9 +12,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library; if not, see . * * Author: Ryan Lortie */ @@ -174,6 +172,19 @@ g_memory_settings_backend_class_init (GMemorySettingsBackendClass *class) object_class->finalize = g_memory_settings_backend_finalize; } +/** + * g_memory_settings_backend_new: + * + * Creates a memory-backed #GSettingsBackend. + * + * This backend allows changes to settings, but does not write them + * to any backing storage, so the next time you run your application, + * the memory backend will start out with the default values again. + * + * Returns: (transfer full): a newly created #GSettingsBackend + * + * Since: 2.28 + */ GSettingsBackend * g_memory_settings_backend_new (void) {