Removed some calls to deprecated Gtk functions
[pspp-builds.git] / src / ui / gui / helper.c
index b09a2f58c3f1cc7bff73e36aecbb4775a81c1049..3e53f1ecb2e2ece73aa5d3a60d4d4fc8a0a4e206 100644 (file)
@@ -300,3 +300,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);
+}