diff --git a/src/gtktechnology.c b/src/gtktechnology.c index 92cb00c..6dc5054 100644 --- a/src/gtktechnology.c +++ b/src/gtktechnology.c @@ -63,6 +63,13 @@ static void gtk_technology_class_init(GtkTechnologyClass *klass) sizeof(GtkTechnologyPrivate)); } +// on 3.12.x the _start and _end versions of these functions were renamed +// make sure to still support the old names +#if ! GTK_CHECK_VERSION(3,12,0) +#define gtk_widget_set_margin_start gtk_widget_set_margin_left +#define gtk_widget_set_margin_end gtk_widget_set_margin_right +#endif + static void gtk_technology_init(GtkTechnology *technology) { GtkTechnologyPrivate *priv;