• Murray Cumming's avatar
    ImageGlom: Remove limits so we always scale, and use on_size_allocate(). · 58e42d6d
    Murray Cumming authored
    * glom/utility_widgets/imageglom.[h|cc]: Use on_size_allocate() instead of
    on_draw(), which is slightly wiser.
    Remove the hard-coded checks for minumum and maximum sizes, because
    we get an initial allocation of 1, and because the max was arbitrarily small.
    
    This works now, but we still need to make the window get smaller when
    the GtkImage requests less space.
    58e42d6d
utils_ui.cc 14.1 KB