Skip to content

Commit bc39e92

Browse files
Fixed code style
1 parent 53ec3d6 commit bc39e92

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

vpr/src/draw/draw.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ static void draw_main_canvas(ezgl::renderer* g) {
276276
* please put it here instead of writing it 5 independent times. Thanks!
277277
* @param app ezgl application
278278
*/
279-
static void default_setup(ezgl::application* app){
279+
static void default_setup(ezgl::application* app) {
280280
basic_button_setup(app);
281281
net_button_setup(app);
282282
block_button_setup(app);

vpr/src/draw/draw_toggle_functions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,9 @@ void toggle_router_util_cbk(GtkComboBoxText* self, ezgl::application* app) {
273273
draw_state->show_routing_util = new_state;
274274

275275
if (draw_state->show_routing_util == DRAW_NO_ROUTING_UTIL) {
276-
application.update_message(draw_state->default_message);
276+
app->update_message(draw_state->default_message);
277277
}
278-
application.refresh_drawing();
278+
app->refresh_drawing();
279279
}
280280

281281
/**

vpr/src/draw/ui_setup.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ void block_button_setup(ezgl::application* app) {
109109
*/
110110
void routing_button_setup(ezgl::application* app) {
111111
auto& route_ctx = g_vpr_ctx.routing();
112-
t_draw_state* draw_state = get_draw_state_vars();
113112

114113
//Toggle RR
115114
GtkComboBoxText* toggle_rr_box = GTK_COMBO_BOX_TEXT(app->get_object("ToggleRR"));

0 commit comments

Comments
 (0)