psppire-data-window.c: Remove ssw api protection
[pspp] / src / ui / gui / helper.h
index 9f5264c050bf6deb22ad50b5509ca25739bd976a..c1d93a8c033dbc5db277a74e9a109251a2bbd654 100644 (file)
@@ -57,7 +57,13 @@ union value *text_to_value__ (const gchar *text, const struct fmt_spec *,
 /* Create a deep copy of SRC */
 GtkListStore * clone_list_store (const GtkListStore *src);
 
-void psppire_box_pack_start_defaults (GtkBox *box, GtkWidget *widget);
-
+/* gtk_box_pack_start_defaults is deprecated.
+   Therefore we roll our own until a better solution is found */
+static inline void
+psppire_box_pack_start_defaults (GtkBox *box, GtkWidget *widget)
+{
+  gtk_box_pack_start (box, widget, TRUE, TRUE, 0);
+}
 
 #endif
+