X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fhelper.c;h=377f17a7f6f77dae93e73a59e02fd31a95f5ae15;hb=d0b91eae59319ab2756d0d43b9cb15eb9cd3c234;hp=b09a2f58c3f1cc7bff73e36aecbb4775a81c1049;hpb=3bbb4370239deb29ebbf813d258aef6249e2a431;p=pspp-builds.git diff --git a/src/ui/gui/helper.c b/src/ui/gui/helper.c index b09a2f58..377f17a7 100644 --- a/src/ui/gui/helper.c +++ b/src/ui/gui/helper.c @@ -24,7 +24,6 @@ #include #include "helper.h" -#include "message-dialog.h" #include #include #include @@ -300,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); +}