Skip to content

Commit

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

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

// Draw it
draw_title(cr);
Expand Down

0 comments on commit 557cf4b

Please sign in to comment.