Skip to content

Commit

Permalink
schematic: Fix crash on yielding 'File -> Print'.
Browse files Browse the repository at this point in the history
  • Loading branch information
vzh committed Oct 17, 2019
1 parent 8ac0d85 commit 67d6931
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions schematic/src/gschem_log_widget.c
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@ scroll_to_bottom (GtkTextBuffer* buffer, GschemLogWidget* widget)
* of gtk_text_view_scroll_to_iter() (as suggested in the
* documentation of gtk_text_view_scroll_to_iter() doesn't help.
*/
while (gtk_events_pending())
gtk_main_iteration();
/* while (gtk_events_pending()) */
/* gtk_main_iteration(); */

GtkTextIter iter;
gtk_text_buffer_get_end_iter (buffer, &iter);
Expand Down

0 comments on commit 67d6931

Please sign in to comment.