summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.pre-2-105
-rw-r--r--ChangeLog.pre-2-45
-rw-r--r--ChangeLog.pre-2-65
-rw-r--r--ChangeLog.pre-2-85
-rw-r--r--gdk/gdkdraw.c5
6 files changed, 28 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4e7777c71d..bc358b3888 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Apr 29 01:09:50 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Use depth - 1
+ to index the cached gcs, not depth. (#139494)
+
2004-04-28 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Docs typo fix.
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 4e7777c71d..bc358b3888 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,8 @@
+Thu Apr 29 01:09:50 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Use depth - 1
+ to index the cached gcs, not depth. (#139494)
+
2004-04-28 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Docs typo fix.
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 4e7777c71d..bc358b3888 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,8 @@
+Thu Apr 29 01:09:50 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Use depth - 1
+ to index the cached gcs, not depth. (#139494)
+
2004-04-28 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Docs typo fix.
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 4e7777c71d..bc358b3888 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,8 @@
+Thu Apr 29 01:09:50 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Use depth - 1
+ to index the cached gcs, not depth. (#139494)
+
2004-04-28 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Docs typo fix.
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 4e7777c71d..bc358b3888 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,8 @@
+Thu Apr 29 01:09:50 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Use depth - 1
+ to index the cached gcs, not depth. (#139494)
+
2004-04-28 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Docs typo fix.
diff --git a/gdk/gdkdraw.c b/gdk/gdkdraw.c
index 12e1aa32bd..7d77eaed01 100644
--- a/gdk/gdkdraw.c
+++ b/gdk/gdkdraw.c
@@ -1562,7 +1562,7 @@ _gdk_drawable_get_scratch_gc (GdkDrawable *drawable,
g_return_val_if_fail (!screen->closed, NULL);
- depth = gdk_drawable_get_depth (drawable);
+ depth = gdk_drawable_get_depth (drawable) - 1;
if (graphics_exposures)
{
@@ -1572,7 +1572,8 @@ _gdk_drawable_get_scratch_gc (GdkDrawable *drawable,
GdkGCValuesMask mask;
values.graphics_exposures = TRUE;
- mask = GDK_GC_EXPOSURES;
+ mask = GDK_GC_EXPOSURES;
+
screen->exposure_gcs[depth] =
gdk_gc_new_with_values (drawable, &values, mask);
}