1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:37:46 +00:00

LibGUI: Delete old now-unused Widget::load_from_gml()

This commit is contained in:
Sam Atkins 2023-01-07 12:34:14 +00:00 committed by Linus Groh
parent 54b1326165
commit e4e12f3a96
2 changed files with 0 additions and 14 deletions

View file

@ -357,10 +357,6 @@ public:
ErrorOr<void> try_load_from_gml(StringView);
ErrorOr<void> try_load_from_gml(StringView, UnregisteredChildHandler);
// FIXME: Replace all uses of load_from_gml() with try_load_from_gml()
bool load_from_gml(StringView gml_string);
bool load_from_gml(StringView, UnregisteredChildHandler);
// FIXME: remove this when all uses of shrink_to_fit are eliminated
void set_shrink_to_fit(bool);
bool is_shrink_to_fit() const { return preferred_width().is_shrink() || preferred_height().is_shrink(); }