Replace deprecated size_request in register date-picker

This commit is contained in:
Robert Fewell 2017-06-23 17:52:23 +01:00
parent 7674340ccc
commit cac49a2d6d

View File

@ -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;