mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Replace deprecated size_request in register date-picker
This commit is contained in:
parent
7674340ccc
commit
cac49a2d6d
@ -207,7 +207,7 @@ gnc_date_picker_new (void)
|
||||
|
||||
gtk_box_pack_start (GTK_BOX(date_picker), calendar, TRUE, TRUE, 0);
|
||||
|
||||
gtk_widget_size_request (calendar, &requisition);
|
||||
gtk_widget_get_preferred_size (calendar, &requisition, NULL);
|
||||
allocation.x = 0;
|
||||
allocation.y = 0;
|
||||
allocation.width = requisition.width;
|
||||
|
Loading…
Reference in New Issue
Block a user