summaryrefslogtreecommitdiff
path: root/netspeed/src
diff options
context:
space:
mode:
Diffstat (limited to 'netspeed/src')
-rw-r--r--netspeed/src/netspeed.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/netspeed/src/netspeed.c b/netspeed/src/netspeed.c
index 45e42eb4..27634998 100644
--- a/netspeed/src/netspeed.c
+++ b/netspeed/src/netspeed.c
@@ -473,8 +473,6 @@ redraw_graph(MateNetspeedApplet *applet, cairo_t *cr)
GtkWidget *da = GTK_WIDGET(applet->drawingarea);
GtkStyleContext *stylecontext = gtk_widget_get_style_context (da);
GdkWindow *real_window = gtk_widget_get_window (da);
- GdkRectangle ra;
- GtkStateType state;
GdkPoint in_points[GRAPH_VALUES], out_points[GRAPH_VALUES];
PangoLayout *layout;
PangoRectangle logical_rect;
@@ -540,11 +538,6 @@ redraw_graph(MateNetspeedApplet *applet, cairo_t *cr)
}
cairo_stroke (cr);
- /* draw the 2 labels */
- state = GTK_STATE_NORMAL;
- ra.x = 0; ra.y = 0;
- ra.width = w; ra.height = h;
-
text = bytes_to_string(max_val, TRUE, applet->show_bits, applet->short_unit);
add_markup_fgcolor(&text, "black");
layout = gtk_widget_create_pango_layout (da, NULL);