diff options
-rw-r--r-- | src/eom-image.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/eom-image.c b/src/eom-image.c index d723abd..4651f1a 100644 --- a/src/eom-image.c +++ b/src/eom-image.c @@ -1340,9 +1340,7 @@ eom_image_get_thumbnail (EomImage *img) g_return_val_if_fail (EOM_IS_IMAGE (img), NULL); if (img->priv->thumbnail != NULL) { - g_object_ref (img->priv->thumbnail); - - return img->priv->thumbnail; + return g_object_ref (img->priv->thumbnail); } return NULL; |