diff options
Diffstat (limited to 'src/eom-image.c')
-rw-r--r-- | src/eom-image.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/eom-image.c b/src/eom-image.c index 85d4f9a..1cd2690 100644 --- a/src/eom-image.c +++ b/src/eom-image.c @@ -315,13 +315,14 @@ eom_image_init (EomImage *img) } EomImage * -eom_image_new_file (GFile *file) +eom_image_new_file (GFile *file, const gchar *caption) { EomImage *img; img = EOM_IMAGE (g_object_new (EOM_TYPE_IMAGE, NULL)); img->priv->file = g_object_ref (file); + img->priv->caption = g_strdup (caption); return img; } |