comparison src/glyphs-gtk.c @ 595:fec27b06b4e5

[xemacs-hg @ 2001-05-31 14:45:08 by wmperry] Remove C++ comments from this file. sorry!
author wmperry
date Thu, 31 May 2001 14:45:08 +0000
parents 183866b06e0b
children 4d7fdf497470
comparison
equal deleted inserted replaced
594:fd49b88b9f06 595:fec27b06b4e5
1544 if (!DEVICE_GTK_P (XDEVICE (device))) 1544 if (!DEVICE_GTK_P (XDEVICE (device)))
1545 gui_error ("Not a GTK device", device); 1545 gui_error ("Not a GTK device", device);
1546 1546
1547 type = resource_symbol_to_type (resource_type); 1547 type = resource_symbol_to_type (resource_type);
1548 1548
1549 // if (dest_mask & IMAGE_POINTER_MASK && type == IMAGE_POINTER_MASK) 1549 #if 0
1550 // iitype = IMAGE_POINTER; 1550 if (dest_mask & IMAGE_POINTER_MASK && type == IMAGE_POINTER_MASK)
1551 // else if (dest_mask & IMAGE_COLOR_PIXMAP_MASK) 1551 iitype = IMAGE_POINTER;
1552 // iitype = IMAGE_COLOR_PIXMAP; 1552 else if (dest_mask & IMAGE_COLOR_PIXMAP_MASK)
1553 // else 1553 iitype = IMAGE_COLOR_PIXMAP;
1554 // incompatible_image_types (instantiator, dest_mask, 1554 else
1555 // IMAGE_COLOR_PIXMAP_MASK | IMAGE_POINTER_MASK); 1555 incompatible_image_types (instantiator, dest_mask,
1556 1556 IMAGE_COLOR_PIXMAP_MASK | IMAGE_POINTER_MASK);
1557 #endif
1558
1557 /* mess with the keyword info we were provided with */ 1559 /* mess with the keyword info we were provided with */
1558 gtk_initialize_pixmap_image_instance (ii, 1, type); 1560 gtk_initialize_pixmap_image_instance (ii, 1, type);
1559 c = gdk_cursor_new (resource_name_to_resource (resource_id, type)); 1561 c = gdk_cursor_new (resource_name_to_resource (resource_id, type));
1560 IMAGE_INSTANCE_GTK_CURSOR (ii) = c; 1562 IMAGE_INSTANCE_GTK_CURSOR (ii) = c;
1561 IMAGE_INSTANCE_PIXMAP_FILENAME (ii) = resource_id; 1563 IMAGE_INSTANCE_PIXMAP_FILENAME (ii) = resource_id;