Skip to content

Commit

Permalink
removed unnecessary variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerryliu committed Jul 10, 2017
1 parent 5b81d51 commit 71327bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ bool Graph::on_draw(const Cairo::RefPtr<Cairo::Context> &cr) {
graph_height = height - graph_y_start - scale_offset;

// Grab text color from theme
auto sc = this->get_style_context();
text_color = sc->get_color();
text_color = this->get_style_context()->get_color();

// Draw it
draw_title(cr);
Expand Down

0 comments on commit 71327bb

Please sign in to comment.