Fix port functions

merge-requests/14/head
Ordissimo 2024-10-27 12:34:13 +01:00
rodzic 4f74200e8c
commit c444c08422
1 zmienionych plików z 9 dodań i 8 usunięć

Wyświetl plik

@ -51,10 +51,10 @@ gtk_box_pack_start(GtkBox *box,
gboolean fill,
guint padding)
{
gtk_box_append(box, child);
gtk_widget_set_vexpand(GTK_WIDGET(box), expand);
gtk_widget_set_hexpand(GTK_WIDGET(box), fill);
gtk_container_set_border_width (GTK_WIDGET(box), padding);
gtk_box_prepend(box, child);
gtk_widget_set_vexpand(GTK_WIDGET(child), expand);
gtk_widget_set_hexpand(GTK_WIDGET(child), fill);
gtk_container_set_border_width (GTK_WIDGET(child), padding);
}
void
@ -64,10 +64,11 @@ gtk_box_pack_end (GtkBox *box,
gboolean fill,
guint padding)
{
gtk_box_prepend(box, child);
gtk_widget_set_vexpand(GTK_WIDGET(box), expand);
gtk_widget_set_hexpand(GTK_WIDGET(box), fill);
gtk_container_set_border_width (GTK_WIDGET(box), padding);
gtk_box_append(box, child);
gtk_widget_set_vexpand(GTK_WIDGET(child), expand);
gtk_widget_set_hexpand(GTK_WIDGET(child), fill);
gtk_container_set_border_width (GTK_WIDGET(child), padding);
}
/*