diff 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
line wrap: on
line diff
--- a/src/glyphs-gtk.c	Thu Sep 24 09:36:49 2009 +0900
+++ b/src/glyphs-gtk.c	Fri Sep 25 01:10:49 2009 +0900
@@ -1329,10 +1329,10 @@
       break;
 
     case IMAGE_POINTER:
-	/* #### Gtk does not give us access to the hotspots of a pixmap */
-
-	IMAGE_INSTANCE_PIXMAP_HOTSPOT_X (ii) = 1;
-	IMAGE_INSTANCE_PIXMAP_HOTSPOT_Y (ii) = 1;
+      /* #### Gtk does not give us access to the hotspots of a pixmap */
+
+      IMAGE_INSTANCE_PIXMAP_HOTSPOT_X (ii) = make_int(1);
+      IMAGE_INSTANCE_PIXMAP_HOTSPOT_Y (ii) = make_int(1);
 
 
       image_instance_convert_to_pointer (ii, instantiator, pointer_fg,