fix the theme preview crasher with xorg/composite, patch from Colin Gibbs
2005-05-22 Sebastien Bacher <seb128@debian.org> * theme-thumbnail.c: (create_image): fix the theme preview crasher with xorg/composite, patch from Colin Gibbs <colin@gibbsonline.net> (Closes: #152490).
This commit is contained in:
parent
6a340d46f0
commit
31ba399378
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2005-05-22 Sebastien Bacher <seb128@debian.org>
|
||||||
|
|
||||||
|
* theme-thumbnail.c: (create_image): fix the theme preview crasher with
|
||||||
|
xorg/composite, patch from Colin Gibbs <colin@gibbsonline.net>
|
||||||
|
(Closes: #152490).
|
||||||
|
|
||||||
2005-02-08 Sebastien Bacher <seb128@debian.org>
|
2005-02-08 Sebastien Bacher <seb128@debian.org>
|
||||||
|
|
||||||
* gnome-theme-info.c: (update_common_theme_dir_index):
|
* gnome-theme-info.c: (update_common_theme_dir_index):
|
||||||
|
|
|
@ -174,7 +174,7 @@ create_image (ThemeThumbnailData *theme_thumbnail_data,
|
||||||
|
|
||||||
/* Create a pixmap */
|
/* Create a pixmap */
|
||||||
visual = gtk_widget_get_visual (window);
|
visual = gtk_widget_get_visual (window);
|
||||||
pixmap = gdk_pixmap_new (NULL, ICON_SIZE_WIDTH, ICON_SIZE_HEIGHT, gdk_visual_get_best_depth());
|
pixmap = gdk_pixmap_new (NULL, ICON_SIZE_WIDTH, ICON_SIZE_HEIGHT, visual->depth);
|
||||||
gdk_drawable_set_colormap (GDK_DRAWABLE (pixmap), gtk_widget_get_colormap (window));
|
gdk_drawable_set_colormap (GDK_DRAWABLE (pixmap), gtk_widget_get_colormap (window));
|
||||||
|
|
||||||
/* Draw the window */
|
/* Draw the window */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue