Document the backend api as unstable

And protect it by G_SETTINGS_ENABLE_BACKEND to make this explicit.
This commit is contained in:
Matthias Clasen
2010-04-14 22:16:27 -04:00
parent d212045835
commit ac118e00be
4 changed files with 24 additions and 7 deletions

View File

@@ -24,6 +24,10 @@
#ifndef __G_SETTINGS_BACKEND_H__
#define __G_SETTINGS_BACKEND_H__
#ifndef G_SETTINGS_ENABLE_BACKEND
#error "You must define G_SETTINGS_ENABLE_BACKEND before including <gio/gsettingsbackend.h>."
#endif
#include <glib-object.h>
G_BEGIN_DECLS