Merge "output" into "master"
[pspp-builds.git] / src / ui / gui / helper.c
index 38110f5c1d7d18043b9b003856ce8dc5efbd4054..377f17a7f6f77dae93e73a59e02fd31a95f5ae15 100644 (file)
@@ -299,3 +299,12 @@ paste_syntax_in_new_window (const gchar *syntax)
 
   gtk_widget_show (se);
 }
+
+
+/* gtk_box_pack_start_defaults is deprecated.
+   Therefore we roll our own until a better solution is found */
+void
+psppire_box_pack_start_defaults (GtkBox *box, GtkWidget *widget)
+{
+  gtk_box_pack_start (box, widget, TRUE, TRUE, 0);
+}