From: Ben Pfaff Date: Sun, 21 Jun 2009 03:42:09 +0000 (-0700) Subject: output: Use gtk_widget_show_all instead of gtk_widget_show_now. X-Git-Tag: v0.7.3~29 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdb1ea8d7db2a7743eff0bc43e93930cb453e649;p=pspp-builds.git output: Use gtk_widget_show_all instead of gtk_widget_show_now. The gtk_widget_show_now function is not supposed to used lightly, according to GTK+ documentation. We don't really need it here, so avoid it. --- diff --git a/src/ui/gui/psppire-output-window.c b/src/ui/gui/psppire-output-window.c index ea713c4f..f2f0ca2d 100644 --- a/src/ui/gui/psppire-output-window.c +++ b/src/ui/gui/psppire-output-window.c @@ -146,7 +146,7 @@ psppire_output_submit (struct outp_driver *this, struct som_entity *entity) if (the_output_viewer == NULL) { the_output_viewer = PSPPIRE_OUTPUT_WINDOW (psppire_output_window_new ()); - gtk_widget_show_now (GTK_WIDGET (the_output_viewer)); + gtk_widget_show_all (GTK_WIDGET (the_output_viewer)); } if (entity->type == SOM_TABLE)