Skip to content
  • Murray Cumming's avatar
    Overried on_expose_event() so we can scale the image when we actually have · 7007f055
    Murray Cumming authored
    2006-02-19  Murray Cumming  <murrayc@murrayc.com>
    
            * glom/utility_widgets/imageglom.cc:
            * glom/utility_widgets/imageglom.h: Overried on_expose_event() so we can
            scale the image when we actually have a real (>1) allocation.
            scale(): Do not call set_image() if the scaled pixbuf has exactly the same
            dimensions as the existing image. And do not try to scale the image if the
            allocation is very small, because this will generally fail. This fixes the
            disappearing image problem.
    7007f055