summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2014-08-12 05:08:35 +0200
committerMichal Ratajsky <[email protected]>2014-08-12 05:08:35 +0200
commitd0e77b52d34c89d013787028c576264222b190b3 (patch)
tree61c33034b361b9ab596533d7097570b1c99bcafe
parent1e1847069eb58c2b62f2b3c11e1e9adf3a17ebde (diff)
downloadlibmatemixer-d0e77b52d34c89d013787028c576264222b190b3.tar.bz2
libmatemixer-d0e77b52d34c89d013787028c576264222b190b3.tar.xz
Fix compilation
-rw-r--r--libmatemixer/matemixer-context.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmatemixer/matemixer-context.c b/libmatemixer/matemixer-context.c
index ecd617f..a485a06 100644
--- a/libmatemixer/matemixer-context.c
+++ b/libmatemixer/matemixer-context.c
@@ -744,7 +744,7 @@ mate_mixer_context_open (MateMixerContext *context)
}
if (module == NULL) {
/* The selected backend is not available */
- change_state (control, MATE_MIXER_STATE_FAILED);
+ change_state (context, MATE_MIXER_STATE_FAILED);
return FALSE;
}
} else {
@@ -1298,8 +1298,8 @@ try_next_backend (MateMixerContext *context)
info = mate_mixer_backend_module_get_info (module);
- control->priv->module = g_object_ref (module);
- control->priv->backend = g_object_new (info->g_type, NULL);
+ context->priv->module = g_object_ref (module);
+ context->priv->backend = g_object_new (info->g_type, NULL);
mate_mixer_backend_set_data (context->priv->backend, &context->priv->backend_data);