Skip to content

Commit

Permalink
Revert "Revert "removed unnecessary variable""
Browse files Browse the repository at this point in the history
This reverts commit 557cf4b.
  • Loading branch information
Kerryliu committed Jul 10, 2017
1 parent 557cf4b commit 6c97967
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 6c97967

Please sign in to comment.