summaryrefslogtreecommitdiff
path: root/backends/alsa/alsa-switch-option.h
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2014-11-08 22:18:34 +0100
committerMichal Ratajsky <[email protected]>2014-11-08 22:18:34 +0100
commit068d95e1c28b0e20e692c5ecb24f044542e82ae9 (patch)
tree5be0c066ba9d6ce605c4b82e8e0ae2ec8c00bb9c /backends/alsa/alsa-switch-option.h
parente72c6f834323e65a41f2ab50047d6fd98f1e09db (diff)
downloadlibmatemixer-068d95e1c28b0e20e692c5ecb24f044542e82ae9.tar.bz2
libmatemixer-068d95e1c28b0e20e692c5ecb24f044542e82ae9.tar.xz
alsa: Use MateMixerStreamSwitch
Also introduce alsa-types.h and move instance typedefs there to fix cross referencing introduced by this change
Diffstat (limited to 'backends/alsa/alsa-switch-option.h')
-rw-r--r--backends/alsa/alsa-switch-option.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/alsa/alsa-switch-option.h b/backends/alsa/alsa-switch-option.h
index 98d4f57..e12cf5b 100644
--- a/backends/alsa/alsa-switch-option.h
+++ b/backends/alsa/alsa-switch-option.h
@@ -22,6 +22,8 @@
#include <glib-object.h>
#include <libmatemixer/matemixer.h>
+#include "alsa-types.h"
+
G_BEGIN_DECLS
#define ALSA_TYPE_SWITCH_OPTION \
@@ -37,7 +39,6 @@ G_BEGIN_DECLS
#define ALSA_SWITCH_OPTION_GET_CLASS(o) \
(G_TYPE_INSTANCE_GET_CLASS ((o), ALSA_TYPE_SWITCH_OPTION, AlsaSwitchOptionClass))
-typedef struct _AlsaSwitchOption AlsaSwitchOption;
typedef struct _AlsaSwitchOptionClass AlsaSwitchOptionClass;
typedef struct _AlsaSwitchOptionPrivate AlsaSwitchOptionPrivate;