This was because the ui file had a GtkBox in it, which is OK for GTK+ 3.0 I believe, but not OK in GTK+ 2.0.
This was because the ui file had a GtkBox in it, which is OK for GTK+ 3.0 I believe, but not OK in GTK+ 2.0.