This is a simple, one line wrapper around another function.
So having it inline makes sense.
return syntax;
}
-
-
-/* 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);
-}
/* 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
+