[Xfce4-commits] [apps/xfdashboard] 01/01: Fix access to first stage in list of stages when looking the stage where to show notification in xfdashboard_notify()
noreply at xfce.org
noreply at xfce.org
Fri Dec 18 07:00:42 CET 2015
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 <nomad at froevel.de>
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.
More information about the Xfce4-commits
mailing list