[Xfce4-commits] [apps/xfce4-taskmanager] 01/01: Check that treeview isnt NULL in cb_send_signal (bug 14403)

noreply at xfce.org noreply at xfce.org
Sun May 27 11:07:06 CEST 2018


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

l   a   n   d   r   y       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 apps/xfce4-taskmanager.

commit f27d270f0c87f7317a16c8afc37df00ec111a03f
Author: rim <rozhuk.im at gmail.com>
Date:   Sun May 27 11:06:32 2018 +0200

    Check that treeview isnt NULL in cb_send_signal (bug 14403)
---
 src/process-tree-view.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/process-tree-view.c b/src/process-tree-view.c
index 32fc37b..ca4920f 100644
--- a/src/process-tree-view.c
+++ b/src/process-tree-view.c
@@ -397,6 +397,8 @@ cb_send_signal (GtkMenuItem *mi, gpointer user_data)
 		GtkTreeSelection *selection;
 		GtkWidget *treeview;
 		treeview = g_object_get_data (G_OBJECT (mi), "treeview");
+		if (NULL == treeview)
+			return;
 		selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (treeview));
 		gtk_tree_selection_unselect_all (selection);
 	}

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


More information about the Xfce4-commits mailing list