summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-12-17 15:08:47 +0300
committermonsta <[email protected]>2015-12-17 15:10:19 +0300
commite53331f921a05d7d130fe3f494c3594a8ef1b5e0 (patch)
tree220cc5000d7d47e54c0cd2b569e626404666993d
parent38720621c10e55d683b11ce9b3a6c9adba2abbf5 (diff)
downloadmate-system-monitor-e53331f921a05d7d130fe3f494c3594a8ef1b5e0.tar.bz2
mate-system-monitor-e53331f921a05d7d130fe3f494c3594a8ef1b5e0.tar.xz
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
-rw-r--r--src/proctable.cpp2
1 files changed, 0 insertions, 2 deletions
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)