X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fhelper.c;h=3e53f1ecb2e2ece73aa5d3a60d4d4fc8a0a4e206;hb=9529d1a99cc7c288d94e5bbdb9f4263bd524da6c;hp=b09a2f58c3f1cc7bff73e36aecbb4775a81c1049;hpb=d8659cda7d193dd3e6e035cd0b1b40493d360f0b;p=pspp-builds.git diff --git a/src/ui/gui/helper.c b/src/ui/gui/helper.c index b09a2f58..3e53f1ec 100644 --- a/src/ui/gui/helper.c +++ b/src/ui/gui/helper.c @@ -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); +}