mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-05 05:09:21 +02:00
Document the backend api as unstable
And protect it by G_SETTINGS_ENABLE_BACKEND to make this explicit.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user