Make build works with GSEAL

This commit is contained in:
Jonh Wendell 2010-06-25 10:31:34 -03:00 committed by Thomas Wood
parent 59f894bf1b
commit 91c5e26bcf
5 changed files with 34 additions and 22 deletions

View file

@ -112,7 +112,7 @@ draw_window_on_pixbuf (GtkWidget *widget)
gtk_window_get_size (GTK_WINDOW (widget), &width, &height);
visual = gtk_widget_get_visual (widget);
pixmap = gdk_pixmap_new (NULL, width, height, visual->depth);
pixmap = gdk_pixmap_new (NULL, width, height, gdk_visual_get_depth (visual));
gdk_drawable_set_colormap (GDK_DRAWABLE (pixmap), gtk_widget_get_colormap (widget));
window = gtk_widget_get_window (widget);