output: Use gtk_widget_show_all instead of gtk_widget_show_now.
authorBen Pfaff <blp@gnu.org>
Sun, 21 Jun 2009 03:42:09 +0000 (20:42 -0700)
committerBen Pfaff <blp@gnu.org>
Sun, 21 Jun 2009 03:42:09 +0000 (20:42 -0700)
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.

src/ui/gui/psppire-output-window.c

index ea713c4fa98b4115e7c677ead276170b3e73248e..f2f0ca2d2520c30a89ca23555cf2ecafa2c222e3 100644 (file)
@@ -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)