From 068d95e1c28b0e20e692c5ecb24f044542e82ae9 Mon Sep 17 00:00:00 2001 From: Michal Ratajsky Date: Sat, 8 Nov 2014 22:18:34 +0100 Subject: alsa: Use MateMixerStreamSwitch Also introduce alsa-types.h and move instance typedefs there to fix cross referencing introduced by this change --- backends/alsa/alsa-stream.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'backends/alsa/alsa-stream.c') diff --git a/backends/alsa/alsa-stream.c b/backends/alsa/alsa-stream.c index bc9c1b5..bce66ec 100644 --- a/backends/alsa/alsa-stream.c +++ b/backends/alsa/alsa-stream.c @@ -24,6 +24,7 @@ #include "alsa-stream.h" #include "alsa-stream-control.h" #include "alsa-switch.h" +#include "alsa-toggle.h" struct _AlsaStreamPrivate { @@ -37,13 +38,13 @@ static void alsa_stream_dispose (GObject *object); G_DEFINE_TYPE (AlsaStream, alsa_stream, MATE_MIXER_TYPE_STREAM) -static const GList *alsa_stream_list_controls (MateMixerStream *mms); -static const GList *alsa_stream_list_switches (MateMixerStream *mms); +static const GList *alsa_stream_list_controls (MateMixerStream *mms); +static const GList *alsa_stream_list_switches (MateMixerStream *mms); -static gint compare_control_name (gconstpointer a, - gconstpointer b); -static gint compare_switch_name (gconstpointer a, - gconstpointer b); +static gint compare_control_name (gconstpointer a, + gconstpointer b); +static gint compare_switch_name (gconstpointer a, + gconstpointer b); static void alsa_stream_class_init (AlsaStreamClass *klass) -- cgit v1.2.1