summaryrefslogtreecommitdiff
path: root/backends/null
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2014-05-24 21:01:21 +0200
committerMichal Ratajsky <[email protected]>2014-05-24 21:01:21 +0200
commit4db8dc0cbb3959d6278a9e7650d5103a475ab897 (patch)
tree4bc508298ce65013a5819cf0cdde7444c23abdb2 /backends/null
parentcaf4d9b8b8b0d26856d2d64f00ab23756867a923 (diff)
downloadlibmatemixer-4db8dc0cbb3959d6278a9e7650d5103a475ab897.tar.bz2
libmatemixer-4db8dc0cbb3959d6278a9e7650d5103a475ab897.tar.xz
General additions and improvements
Diffstat (limited to 'backends/null')
-rw-r--r--backends/null/null.c13
-rw-r--r--backends/null/null.h2
2 files changed, 9 insertions, 6 deletions
diff --git a/backends/null/null.c b/backends/null/null.c
index c049dcb..b96c9b0 100644
--- a/backends/null/null.c
+++ b/backends/null/null.c
@@ -28,7 +28,6 @@
/* Support function for dynamic loading of the backend module */
void backend_module_init (GTypeModule *module);
-void backend_module_free (void);
const MateMixerBackendModuleInfo *backend_module_get_info (void);
@@ -52,11 +51,6 @@ backend_module_init (GTypeModule *module)
info.backend_type = MATE_MIXER_BACKEND_TYPE_NULL;
}
-void
-backend_module_free (void)
-{
-}
-
const MateMixerBackendModuleInfo *
backend_module_get_info (void)
{
@@ -66,6 +60,7 @@ backend_module_get_info (void)
static void
mate_mixer_backend_interface_init (MateMixerBackendInterface *iface)
{
+ iface->open = mate_mixer_null_open;
}
static void
@@ -93,3 +88,9 @@ static void
mate_mixer_null_class_finalize (MateMixerNullClass *klass)
{
}
+
+gboolean
+mate_mixer_null_open (MateMixerBackend *backend)
+{
+ return TRUE;
+}
diff --git a/backends/null/null.h b/backends/null/null.h
index ef5b779..d73794e 100644
--- a/backends/null/null.h
+++ b/backends/null/null.h
@@ -51,4 +51,6 @@ struct _MateMixerNullClass
GType mate_mixer_null_get_type (void) G_GNUC_CONST;
+gboolean mate_mixer_null_open (MateMixerBackend *backend);
+
#endif /* MATEMIXER_NULL_H */