summaryrefslogtreecommitdiff
path: root/mate-volume-control/gvc-applet.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-volume-control/gvc-applet.c')
-rw-r--r--mate-volume-control/gvc-applet.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mate-volume-control/gvc-applet.c b/mate-volume-control/gvc-applet.c
index cb51431..518a827 100644
--- a/mate-volume-control/gvc-applet.c
+++ b/mate-volume-control/gvc-applet.c
@@ -115,7 +115,7 @@ update_icon_input (GvcApplet *applet)
g_debug ("Found a recording application control %s",
mate_mixer_stream_control_get_label (input));
- if G_UNLIKELY (control == NULL) {
+ if (G_UNLIKELY (control == NULL)) {
/* In the unlikely case when there is no
* default input control, use the application
* control for the icon */
@@ -130,7 +130,7 @@ update_icon_input (GvcApplet *applet)
strcmp (app_id, "org.PulseAudio.pavucontrol") != 0) {
g_debug ("Found a recording application %s", app_id);
- if G_UNLIKELY (control == NULL)
+ if (G_UNLIKELY (control == NULL))
control = input;
show = TRUE;
@@ -181,7 +181,7 @@ on_input_stream_control_added (MateMixerStream *stream,
MateMixerStreamControl *control;
control = mate_mixer_stream_get_control (stream, name);
- if G_LIKELY (control != NULL) {
+ if (G_LIKELY (control != NULL)) {
MateMixerStreamControlRole role = mate_mixer_stream_control_get_role (control);
/* Non-application input control doesn't affect the icon */
@@ -284,10 +284,10 @@ gvc_applet_start (GvcApplet *applet)
{
g_return_if_fail (GVC_IS_APPLET (applet));
- if G_UNLIKELY (applet->priv->running == TRUE)
+ if (G_UNLIKELY (applet->priv->running == TRUE))
return;
- if G_UNLIKELY (mate_mixer_context_open (applet->priv->context) == FALSE) {
+ if (G_UNLIKELY (mate_mixer_context_open (applet->priv->context) == FALSE)) {
/* Normally this should never happen, in the worst case we
* should end up with the Null module */
g_warning ("Failed to connect to a sound system");