kopia lustrzana https://gitlab.com/sane-project/frontends
Fix port functions
rodzic
4f74200e8c
commit
c444c08422
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Ładowanie…
Reference in New Issue