kopia lustrzana https://gitlab.com/sane-project/frontends
Fix the porting of functions to gtk4
rodzic
fd75012e92
commit
2aee50231d
|
@ -52,6 +52,8 @@ gtk_box_pack_start(GtkBox *box,
|
|||
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);
|
||||
}
|
||||
|
||||
|
@ -63,6 +65,8 @@ gtk_box_pack_end (GtkBox *box,
|
|||
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);
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue