summaryrefslogtreecommitdiff
path: root/backends/alsa/alsa-toggle.h
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2014-11-10 11:28:44 +0100
committerMichal Ratajsky <[email protected]>2014-11-10 11:28:44 +0100
commit6c1be9a4ad08f84235d4a1fcd4597bff910f59c4 (patch)
tree779944fba11c918cbbf960cc23f0479b3baf890c /backends/alsa/alsa-toggle.h
parent44f3cd7ba3b672e67a91358fb0f6e3370c62301a (diff)
downloadlibmatemixer-6c1be9a4ad08f84235d4a1fcd4597bff910f59c4.tar.bz2
libmatemixer-6c1be9a4ad08f84235d4a1fcd4597bff910f59c4.tar.xz
Change MateMixerToggle into MateMixerStreamToggle and adapt ALSA
Diffstat (limited to 'backends/alsa/alsa-toggle.h')
-rw-r--r--backends/alsa/alsa-toggle.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/backends/alsa/alsa-toggle.h b/backends/alsa/alsa-toggle.h
index 2d772f9..16a0410 100644
--- a/backends/alsa/alsa-toggle.h
+++ b/backends/alsa/alsa-toggle.h
@@ -49,7 +49,7 @@ typedef struct _AlsaTogglePrivate AlsaTogglePrivate;
struct _AlsaToggle
{
- MateMixerToggle parent;
+ MateMixerStreamToggle parent;
/*< private >*/
AlsaTogglePrivate *priv;
@@ -57,12 +57,13 @@ struct _AlsaToggle
struct _AlsaToggleClass
{
- MateMixerToggleClass parent_class;
+ MateMixerStreamToggleClass parent_class;
};
GType alsa_toggle_get_type (void) G_GNUC_CONST;
-AlsaToggle *alsa_toggle_new (const gchar *name,
+AlsaToggle *alsa_toggle_new (AlsaStream *stream,
+ const gchar *name,
const gchar *label,
MateMixerStreamSwitchRole role,
AlsaToggleType type,