summaryrefslogtreecommitdiff
path: root/backends/null
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2014-08-29 00:01:41 +0200
committerMichal Ratajsky <[email protected]>2014-08-29 00:01:41 +0200
commit652eb260c2574312664c35acd10893d7a6460426 (patch)
treee396e048aabc82c589c020f8f2099c27d38ec93d /backends/null
parente67e02993cb8c1827659e1b3ddd693d347b8cf96 (diff)
downloadlibmatemixer-652eb260c2574312664c35acd10893d7a6460426.tar.bz2
libmatemixer-652eb260c2574312664c35acd10893d7a6460426.tar.xz
Include backend flags in backend info and add a flag indicating stored controls support
Diffstat (limited to 'backends/null')
-rw-r--r--backends/null/null-backend.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/backends/null/null-backend.c b/backends/null/null-backend.c
index ee0ad2e..a061428 100644
--- a/backends/null/null-backend.c
+++ b/backends/null/null-backend.c
@@ -24,6 +24,7 @@
#define BACKEND_NAME "Null"
#define BACKEND_PRIORITY 0
+#define BACKEND_FLAGS MATE_MIXER_BACKEND_NO_FLAGS
static void null_backend_class_init (NullBackendClass *klass);
static void null_backend_class_finalize (NullBackendClass *klass);
@@ -43,10 +44,11 @@ backend_module_init (GTypeModule *module)
{
null_backend_register_type (module);
- info.name = BACKEND_NAME;
- info.priority = BACKEND_PRIORITY;
- info.g_type = NULL_TYPE_BACKEND;
- info.backend_type = MATE_MIXER_BACKEND_NULL;
+ info.name = BACKEND_NAME;
+ info.priority = BACKEND_PRIORITY;
+ info.g_type = NULL_TYPE_BACKEND;
+ info.backend_flags = BACKEND_FLAGS;
+ info.backend_type = MATE_MIXER_BACKEND_NULL;
}
const MateMixerBackendInfo *backend_module_get_info (void)