Mercurial > hg > xemacs-beta
comparison src/glyphs-gtk.c @ 4629:a1dd514df5c6
Apply the 2008-03-05 change from Dominique Quatravaux in init_image_instance_from_gdk_pixmap as well even though the code is not enabled at the moment
author | "Ville Skyttä <scop@xemacs.org>" |
---|---|
date | Sun, 08 Mar 2009 22:52:13 +0200 |
parents | 1bf48c59700e |
children | ef70ee47d287 |
comparison
equal
deleted
inserted
replaced
4628:877ad4697eea | 4629:a1dd514df5c6 |
---|---|
835 | 835 |
836 gdk_window_get_geometry (gdk_pixmap, NULL, NULL, &width, &height, &depth); | 836 gdk_window_get_geometry (gdk_pixmap, NULL, NULL, &width, &height, &depth); |
837 | 837 |
838 IMAGE_INSTANCE_PIXMAP_FILENAME (ii) = Qnil; | 838 IMAGE_INSTANCE_PIXMAP_FILENAME (ii) = Qnil; |
839 IMAGE_INSTANCE_GTK_PIXMAP (ii) = gdk_pixmap; | 839 IMAGE_INSTANCE_GTK_PIXMAP (ii) = gdk_pixmap; |
840 IMAGE_INSTANCE_GTK_MASK (ii) = 0; | 840 IMAGE_INSTANCE_PIXMAP_MASK (ii) = 0; |
841 IMAGE_INSTANCE_PIXMAP_WIDTH (ii) = width; | 841 IMAGE_INSTANCE_PIXMAP_WIDTH (ii) = width; |
842 IMAGE_INSTANCE_PIXMAP_HEIGHT (ii) = height; | 842 IMAGE_INSTANCE_PIXMAP_HEIGHT (ii) = height; |
843 IMAGE_INSTANCE_PIXMAP_DEPTH (ii) = depth; | 843 IMAGE_INSTANCE_PIXMAP_DEPTH (ii) = depth; |
844 IMAGE_INSTANCE_GTK_COLORMAP (ii) = gdk_window_get_colormap (gdk_pixmap); | 844 IMAGE_INSTANCE_GTK_COLORMAP (ii) = gdk_window_get_colormap (gdk_pixmap); |
845 IMAGE_INSTANCE_GTK_PIXELS (ii) = 0; | 845 IMAGE_INSTANCE_GTK_PIXELS (ii) = 0; |