diff options
author | monsta <[email protected]> | 2015-12-17 15:08:47 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2015-12-17 15:10:19 +0300 |
commit | e53331f921a05d7d130fe3f494c3594a8ef1b5e0 (patch) | |
tree | 220cc5000d7d47e54c0cd2b569e626404666993d /src/proctable.cpp | |
parent | 38720621c10e55d683b11ce9b3a6c9adba2abbf5 (diff) | |
download | mate-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
Diffstat (limited to 'src/proctable.cpp')
-rw-r--r-- | src/proctable.cpp | 2 |
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) |