[Xfce4-commits] [xfce/xfce4-panel] 01/01: tasklist: Fix segfault

noreply at xfce.org noreply at xfce.org
Fri Dec 7 11:47:15 CET 2018


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

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-panel.

commit f768f4229d21dc70ffd8ecca063a9bb76e809d85
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Fri Dec 7 11:46:58 2018 +0100

    tasklist: Fix segfault
---
 plugins/tasklist/tasklist-widget.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/plugins/tasklist/tasklist-widget.c b/plugins/tasklist/tasklist-widget.c
index adee9b2..fd9476a 100644
--- a/plugins/tasklist/tasklist-widget.c
+++ b/plugins/tasklist/tasklist-widget.c
@@ -2709,7 +2709,8 @@ xfce_tasklist_button_state_changed (WnckWindow        *window,
                                             child->class_group,
                                             NULL, (gpointer *) &group_child);
 
-              if (group_child->type == CHILD_TYPE_GROUP) {
+              if (group_child
+                  && group_child->type == CHILD_TYPE_GROUP) {
                 xfce_tasklist_group_button_icon_changed (child->class_group, group_child);
               }
             }

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


More information about the Xfce4-commits mailing list