summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-19 01:14:38 +0100
committerinfirit <[email protected]>2014-12-19 01:14:38 +0100
commit0dc96be11c125a73113985c37b6d91824578c43c (patch)
tree6517e5620842f27366f6c0f0e23589592d170db6
parentf8d20d94ba55001016cb7cfed436ea37eafcfee7 (diff)
downloadmate-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.cpp2
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);