Mercurial > hg > xemacs-beta
comparison src/glyphs-gtk.c @ 4700:ef70ee47d287
Image instantiator pixmap hotspots are Lisp integers; make it so in GTK.
author | Stephen J. Turnbull <stephen@xemacs.org> |
---|---|
date | Fri, 25 Sep 2009 01:10:49 +0900 |
parents | a1dd514df5c6 |
children | b3ce27ca7647 19a72041c5ed |
comparison
equal
deleted
inserted
replaced
4699:0e1461b592ce | 4700:ef70ee47d287 |
---|---|
1327 case IMAGE_COLOR_PIXMAP: | 1327 case IMAGE_COLOR_PIXMAP: |
1328 IMAGE_INSTANCE_PIXMAP_DEPTH (ii) = depth; | 1328 IMAGE_INSTANCE_PIXMAP_DEPTH (ii) = depth; |
1329 break; | 1329 break; |
1330 | 1330 |
1331 case IMAGE_POINTER: | 1331 case IMAGE_POINTER: |
1332 /* #### Gtk does not give us access to the hotspots of a pixmap */ | 1332 /* #### Gtk does not give us access to the hotspots of a pixmap */ |
1333 | 1333 |
1334 IMAGE_INSTANCE_PIXMAP_HOTSPOT_X (ii) = 1; | 1334 IMAGE_INSTANCE_PIXMAP_HOTSPOT_X (ii) = make_int(1); |
1335 IMAGE_INSTANCE_PIXMAP_HOTSPOT_Y (ii) = 1; | 1335 IMAGE_INSTANCE_PIXMAP_HOTSPOT_Y (ii) = make_int(1); |
1336 | 1336 |
1337 | 1337 |
1338 image_instance_convert_to_pointer (ii, instantiator, pointer_fg, | 1338 image_instance_convert_to_pointer (ii, instantiator, pointer_fg, |
1339 pointer_bg); | 1339 pointer_bg); |
1340 break; | 1340 break; |