project: Adapt to GtkBox API changes

GtkBox provides a different API surface, such as gtk_box_append()
and gtk_box_prepend(), so switch to that.
This commit is contained in:
Georges Basile Stavracas Neto 2022-07-08 15:21:00 -03:00
parent 2d9b408a32
commit 631df4f1a5
4 changed files with 7 additions and 17 deletions

View file

@ -49,13 +49,12 @@
</child>
<signal name="clicked" handler="mct_carousel_goto_previous_page" object="MctCarousel" swapped="no"/>
</object>
<packing>
<property name="pack_type">GTK_PACK_START</property>
</packing>
</child>
<child>
<object class="GtkButton" id="go_next_button">
<property name="valign">center</property>
<property name="halign">end</property>
<property name="hexpand">True</property>
<style>
<class name="circular"/>
</style>
@ -70,9 +69,6 @@
</child>
<signal name="clicked" handler="mct_carousel_goto_next_page" object="MctCarousel" swapped="no"/>
</object>
<packing>
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
</object>
</child>