summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);