Eog.thumbnail_fit_to_size
Description: Reference for Eog.thumbnail_fit_to_size

### Function

# Eogthumbnail_fit_to_size

#### Declaration [src]

    GdkPixbuf*
    eog_thumbnail_fit_to_size (
      GdkPixbuf* thumbnail,
      gint dimension
    )

#### Description [src]

Ensures a pixbuf fits a given `dimension`.

#### Parameters

`thumbnail` | `GdkPixbuf`
| A `GdkPixbuf`.
| The data is owned by the caller of the function.
`dimension` | `gint`
| The maximum width or height desired.

#### Return value

Returns: | `GdkPixbuf`
| A new `GdkPixbuf`.
| The caller of the function takes ownership of the data, and is responsible for freeing it.