Skip to content
  • Benjamin Otte's avatar
    image: Add gtk_image_set_keep_aspect_ratio() · c6541853
    Benjamin Otte authored
    If set, the image will draw its contents while keeping their aspect
    ratio. That means empty areas show up on the top/bottom or left/right.
    
    Also move the special-case snapshotting code for icons to
    GtkIconHelper. That's where it belongs.
    c6541853