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

nomad pushed a commit to branch master
in repository apps/xfdashboard.

commit 68bf0163720718bc34d7380b3102f6c0d272e74a
Author: Stephan Haller <[email protected]>
Date:   Wed Dec 16 18:40:38 2015 +0100

    Fix access to first stage in list of stages when looking the stage where to 
show notification in xfdashboard_notify()
---
 xfdashboard/utils.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/xfdashboard/utils.c b/xfdashboard/utils.c
index 6afd09b..1ef2361 100644
--- a/xfdashboard/utils.c
+++ b/xfdashboard/utils.c
@@ -144,9 +144,9 @@ void xfdashboard_notify(ClutterActor *inSender,
                        }
 
                        /* If we did not get stage for primary monitor use 
first stage */
-                       if(!stage)
+                       if(!stage && stages)
                        {
-                               stage=XFDASHBOARD_STAGE(stagesIter->data);
+                               stage=XFDASHBOARD_STAGE(stages->data);
                        }
                }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to