2011-10-25 [colin] 3.7.10cvs51
authorColin Leroy <colin@colino.net>
Tue, 25 Oct 2011 16:52:00 +0000 (16:52 +0000)
committerColin Leroy <colin@colino.net>
Tue, 25 Oct 2011 16:52:00 +0000 (16:52 +0000)
* src/stock_pixmap.c
Fix build with gtk + 2.20

ChangeLog
PATCHSETS
configure.ac
src/stock_pixmap.c

index c6fda1b84f5c5d9a04cfa9aa993fe943361fc689..f40753d42d1e880d3a65bb5a83cfc7dc237a48f6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-25 [colin]     3.7.10cvs51
+
+       * src/stock_pixmap.c
+               Fix build with gtk + 2.20
+
 2011-10-25 [colin]     3.7.10cvs50
 
        * src/compose.c
index 13a9d2b4bc581c3c5618d58ebc106cc742dfd80f..30fb5efa4b21f47a4dbadece12ea271c91089bee 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.25.2.70 -r 1.25.2.71 src/stock_pixmap.c;  ) > 3.7.10cvs48.patchset
 ( cvs diff -u -r 1.2.2.35 -r 1.2.2.36 src/gtk/colorlabel.c;  cvs diff -u -r 1.1.2.20 -r 1.1.2.21 src/gtk/gtkcmclist.c;  ) > 3.7.10cvs49.patchset
 ( cvs diff -u -r 1.382.2.587 -r 1.382.2.588 src/compose.c;  cvs diff -u -r 1.94.2.220 -r 1.94.2.221 src/messageview.c;  cvs diff -u -r 1.150.2.118 -r 1.150.2.119 src/procmsg.c;  cvs diff -u -r 1.60.2.56 -r 1.60.2.57 src/procmsg.h;  ) > 3.7.10cvs50.patchset
+( cvs diff -u -r 1.25.2.71 -r 1.25.2.72 src/stock_pixmap.c;  ) > 3.7.10cvs51.patchset
index 5ce382faf0b5144be6c0d84cd744f7e366290367..6331ea4261ee98f5853e04a3a95c194d29ed3f47 100644 (file)
@@ -12,7 +12,7 @@ MINOR_VERSION=7
 MICRO_VERSION=10
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=50
+EXTRA_VERSION=51
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 63fc7b8a272ecd39647cc8f2fdb57ccceb192ca8..986535cab99d95a7c3dbdfb40becbad8997c4989 100644 (file)
@@ -600,14 +600,6 @@ static gboolean do_pix_draw(GtkWidget *widget, cairo_t *cr,
        } else {
                cm_return_val_if_fail(data->base_pixbuf != NULL, FALSE);
        }
-       cairo_pattern_t *pattern = gdk_window_get_background_pattern(drawable);
-       if (pattern == NULL)
-               pattern = gdk_window_get_background_pattern(gdk_window_get_parent(drawable));
-       
-       cairo_pattern_reference(pattern);
-       cairo_set_source(cr, pattern);
-       cairo_fill(cr);
-       cairo_pattern_destroy(pattern);
 
        if (data->highlight) {
                MainWindow *mw = NULL;