aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index c0fb0f5cf2d..e044810f816 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -6046,6 +6046,7 @@ lookup_image (f, spec)
6046 int i; 6046 int i;
6047 unsigned hash; 6047 unsigned hash;
6048 struct gcpro gcpro1; 6048 struct gcpro gcpro1;
6049 EMACS_TIME now;
6049 6050
6050 /* F must be a window-system frame, and SPEC must be a valid image 6051 /* F must be a window-system frame, and SPEC must be a valid image
6051 specification. */ 6052 specification. */
@@ -6122,6 +6123,10 @@ lookup_image (f, spec)
6122 } 6123 }
6123 } 6124 }
6124 6125
6126 /* We're using IMG, so set its timestamp to `now'. */
6127 EMACS_GET_TIME (now);
6128 img->timestamp = EMACS_SECS (now);
6129
6125 UNGCPRO; 6130 UNGCPRO;
6126 6131
6127 /* Value is the image id. */ 6132 /* Value is the image id. */