diff options
author | infirit <[email protected]> | 2014-12-19 01:14:38 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-19 01:14:38 +0100 |
commit | 0dc96be11c125a73113985c37b6d91824578c43c (patch) | |
tree | 6517e5620842f27366f6c0f0e23589592d170db6 | |
parent | f8d20d94ba55001016cb7cfed436ea37eafcfee7 (diff) | |
download | mate-system-monitor-0dc96be11c125a73113985c37b6d91824578c43c.tar.bz2 mate-system-monitor-0dc96be11c125a73113985c37b6d91824578c43c.tar.xz |
Removed unused allocation from load_graph_draw.
Taken from GSM commit: 5084e4a76abdf089aecc1d3f8565604a31d03a4e
From: Robert Roth <[email protected]>
-rw-r--r-- | src/load-graph.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/load-graph.cpp b/src/load-graph.cpp index def0381..a556292 100644 --- a/src/load-graph.cpp +++ b/src/load-graph.cpp @@ -219,14 +219,12 @@ static gboolean load_graph_expose (GtkWidget *widget, GdkEventExpose *event, gpo #endif { LoadGraph * const graph = static_cast<LoadGraph*>(data_ptr); - GtkAllocation allocation; GdkWindow *window; guint i, j; gdouble sample_width, x_offset; window = gtk_widget_get_window (graph->disp); - gtk_widget_get_allocation (graph->disp, &allocation); if (graph->background == NULL) { draw_background(graph); |