From e53331f921a05d7d130fe3f494c3594a8ef1b5e0 Mon Sep 17 00:00:00 2001 From: monsta Date: Thu, 17 Dec 2015 15:08:47 +0300 Subject: remove unneeded assert we don't need to crash here, thanks. the code below is able to handle excessive column ids just fine. fixes https://github.com/mate-desktop/mate-system-monitor/issues/76 --- src/proctable.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/proctable.cpp b/src/proctable.cpp index 97a51a2..0023aff 100644 --- a/src/proctable.cpp +++ b/src/proctable.cpp @@ -146,8 +146,6 @@ proctable_set_columns_order(GtkTreeView *treeview, GSList *order) id = GPOINTER_TO_INT(it->data); - g_assert(id >= 0 && id < NUM_COLUMNS); - cur = my_gtk_tree_view_get_column_with_sort_column_id(treeview, id); if(cur && cur != last) -- cgit v1.2.1