summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-18 01:07:24 +0100
committerinfirit <[email protected]>2014-12-18 01:07:24 +0100
commitb2d73fe3919f5c1c10d01cfa4108ea677f2ccdc0 (patch)
treed3d78ed14dd7271a92368eea2273a8f676351b46
parent72efbb28ccebaef956d7c49acf4a08fdfdeccbcb (diff)
downloadmate-system-monitor-b2d73fe3919f5c1c10d01cfa4108ea677f2ccdc0.tar.bz2
mate-system-monitor-b2d73fe3919f5c1c10d01cfa4108ea677f2ccdc0.tar.xz
Remove unnecessary assert which causes crash
Taken from GSM commit: dbc19ed7fa89ddd426028a45265ea49857272637 From: Chris Kühl <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=578520
-rw-r--r--src/load-graph.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/load-graph.cpp b/src/load-graph.cpp
index 25e6a0a..07b0d2e 100644
--- a/src/load-graph.cpp
+++ b/src/load-graph.cpp
@@ -756,8 +756,6 @@ load_graph_change_speed (LoadGraph *graph,
graph->speed = new_speed;
- g_assert(graph->timer_index);
-
if(graph->timer_index) {
g_source_remove (graph->timer_index);
graph->timer_index = g_timeout_add (graph->speed / graph->frames_per_unit,