[gnome-system-monitor] Removed unused allocation from load_graph_draw.



commit 5084e4a76abdf089aecc1d3f8565604a31d03a4e
Author: Robert Roth <robert roth off gmail com>
Date:   Fri Aug 10 21:31:52 2012 +0300

    Removed unused allocation from load_graph_draw.

 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 711b814..d3cc9dd 100644
--- a/src/load-graph.cpp
+++ b/src/load-graph.cpp
@@ -216,14 +216,12 @@ load_graph_draw (GtkWidget *widget,
                  gpointer data_ptr)
 {
     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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]