diff --git a/src/sview/grid.c b/src/sview/grid.c index 531cb17e616acdf924e909f961ff112667c8a102..7c3055b395b4b31265ea14d7469e439a204feaca 100644 --- a/src/sview/grid.c +++ b/src/sview/grid.c @@ -803,7 +803,7 @@ extern int setup_grid_table(GtkTable *table, List button_list, List node_list) end_it: list_iterator_destroy(itr); list_sort(button_list, (ListCmpF) _sort_button_inx); - + return error_code; } @@ -877,8 +877,9 @@ extern void sview_reset_grid() while((grid_button = list_next(itr))) { node_base_state = grid_button->state & NODE_STATE_BASE; if ((node_base_state == NODE_STATE_DOWN) - || (grid_button->state & NODE_STATE_DRAIN)) + || (grid_button->state & NODE_STATE_DRAIN)) { continue; + } gtk_widget_modify_bg(grid_button->button, GTK_STATE_NORMAL, &color); } diff --git a/src/sview/job_info.c b/src/sview/job_info.c index c1b80610add34ce65c88434db8f14488c5199f0b..162f787df5099547ba9990be32f454102b35eb5c 100644 --- a/src/sview/job_info.c +++ b/src/sview/job_info.c @@ -2616,7 +2616,7 @@ display_it: changed, 0); if(!info_list) return; - + i=0; /* set up the grid */ itr = list_iterator_create(info_list); while ((sview_job_info_ptr = list_next(itr))) { @@ -2645,7 +2645,6 @@ display_it: gtk_table_attach_defaults(GTK_TABLE(table), GTK_WIDGET(tree_view), 0, 1, 0, 1); - gtk_widget_show(GTK_WIDGET(tree_view)); /* since this function sets the model of the tree_view to the treestore we don't really care about the return value */ diff --git a/src/sview/part_info.c b/src/sview/part_info.c index 4b8f7244d708deaed12a4ef0a27b32b28cd6178f..0a672966b0f31d8afa3c73e35447f94a9912110b 100644 --- a/src/sview/part_info.c +++ b/src/sview/part_info.c @@ -1857,7 +1857,6 @@ extern void get_info_part(GtkTable *table, display_data_t *display_data) if(display_widget && toggled) { gtk_widget_destroy(display_widget); display_widget = NULL; - g_print("got here\n"); goto display_it; } @@ -1968,7 +1967,7 @@ display_it: _update_info_part(info_list, GTK_TREE_VIEW(display_widget)); end_it: toggled = FALSE; - force_refresh = 0; + force_refresh = FALSE; return; } diff --git a/src/sview/sview.c b/src/sview/sview.c index fe2b5efbb3ad1d66d8175a7e7bf5e12de245dc24..5ddc8d5028bad418e72e02007ba4b328fb8dd447 100644 --- a/src/sview/sview.c +++ b/src/sview/sview.c @@ -633,7 +633,6 @@ int main(int argc, char *argv[]) 0, 0); gtk_table_attach_defaults(GTK_TABLE(table), main_notebook, 1, 2, 0, 1); - gtk_box_pack_start(GTK_BOX(GTK_DIALOG(main_window)->vbox), table, TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(GTK_DIALOG(main_window)->vbox), @@ -647,8 +646,7 @@ int main(int argc, char *argv[]) create_page(GTK_NOTEBOOK(main_notebook), &main_display_data[i]); } - - + /* tell signal we are done adding */ adding = 0; popup_list = list_create(destroy_popup_info);