[Xfce4-commits] [apps/xfce4-volumed-pulse] 33/62: fix struct field name

noreply at xfce.org noreply at xfce.org
Thu Sep 8 10:32:55 CEST 2016


This is an automated email from the git hooks/post-receive script.

ochosi pushed a commit to branch master
in repository apps/xfce4-volumed-pulse.

commit 5d8c72a68cd4df9ec4515b0fc52199ad3ade63b3
Author: Lionel Le Folgoc <lionel at lefolgoc.net>
Date:   Thu May 24 20:27:23 2012 +0200

    fix struct field name
    
    yes, that looks useless, but it's too late
---
 src/xvd_notify.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/xvd_notify.c b/src/xvd_notify.c
index bf9e377..57d8964 100644
--- a/src/xvd_notify.c
+++ b/src/xvd_notify.c
@@ -68,20 +68,20 @@ void
 xvd_notify_volume_notification(XvdInstance *Inst)
 {
 	if (Inst->current_vol == 0)
-		xvd_notify_notification (Inst, (Inst->muted) ? "audio-volume-muted" : "audio-volume-low", 0);
+		xvd_notify_notification (Inst, (Inst->mute) ? "audio-volume-muted" : "audio-volume-low", 0);
 	else if (Inst->current_vol < 34)
-		xvd_notify_notification (Inst, (Inst->muted) ? "audio-volume-muted" : "audio-volume-low", Inst->current_vol);
+		xvd_notify_notification (Inst, (Inst->mute) ? "audio-volume-muted" : "audio-volume-low", Inst->current_vol);
 	else if (Inst->current_vol < 67)
-		xvd_notify_notification (Inst, (Inst->muted) ? "audio-volume-muted" : "audio-volume-medium", Inst->current_vol);
+		xvd_notify_notification (Inst, (Inst->mute) ? "audio-volume-muted" : "audio-volume-medium", Inst->current_vol);
 	else
-		xvd_notify_notification (Inst, (Inst->muted) ? "audio-volume-muted" : "audio-volume-high", Inst->current_vol);
+		xvd_notify_notification (Inst, (Inst->mute) ? "audio-volume-muted" : "audio-volume-high", Inst->current_vol);
 }
 
 void
 xvd_notify_overshoot_notification(XvdInstance *Inst)
 {
 	xvd_notify_notification (Inst, 
-	    (Inst->muted) ? "audio-volume-muted" : "audio-volume-high",
+	    (Inst->mute) ? "audio-volume-muted" : "audio-volume-high",
 	    (Inst->gauge_notifications) ? 101 : 100);
 }
 
@@ -89,7 +89,7 @@ void
 xvd_notify_undershoot_notification(XvdInstance *Inst)
 {
 	xvd_notify_notification (Inst, 
-	    (Inst->muted) ? "audio-volume-muted" : "audio-volume-low",
+	    (Inst->mute) ? "audio-volume-muted" : "audio-volume-low",
 	    (Inst->gauge_notifications) ? -1 : 0);
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list