Magellan Linux

Contents of /trunk/gtk-qt-engine/patches/gtk-qt-engine-0.6-gtk-2.8.x-cairo-fix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 144 - (show annotations) (download)
Tue May 8 20:06:05 2007 UTC (17 years ago) by niro
File size: 567 byte(s)
-import

1 diff -pruN gtk-qt-engine-old/src/qt_theme_draw.c gtk-qt-engine/src/qt_theme_draw.c
2 --- gtk-qt-engine-old/src/qt_theme_draw.c 2005-01-06 21:38:14.000000000 +0100
3 +++ gtk-qt-engine/src/qt_theme_draw.c 2005-08-10 23:28:34.875969476 +0200
4 @@ -1831,6 +1831,7 @@ set_background (GtkStyle *style, GdkWind
5 parent_relative = FALSE;
6 }
7
8 + if (pixmap && !gdk_drawable_get_colormap (pixmap)) gdk_drawable_set_colormap (pixmap, gdk_drawable_get_colormap (window));
9 gdk_window_set_back_pixmap (window, pixmap, parent_relative);
10 }
11 else