diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-02-20 18:00:36 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-02-20 18:00:36 +0000 |
commit | b7657627a2cbbc57a9398b18bac069e46c1dd0dc (patch) | |
tree | 20b642bb5ec9083c3891d076b51f32a31bd12c60 /gdk/gdkinternals.h | |
parent | ec838304c69c34d1f4f7477da7956a4f79499515 (diff) | |
download | gdk-pixbuf-b7657627a2cbbc57a9398b18bac069e46c1dd0dc.tar.gz |
Obtain the background color from the gc when it is needed. (#331820)
2006-02-20 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkgc.c (_gdk_gc_update_context): Obtain the
background color from the gc when it is needed. (#331820)
2006-02-19 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkgc.c (_gdk_gc_update_context): Add a gc_changed
argument, and avoid setting the clip region if the gc
has not changed.
* gdk/gdkgc.c: Update all callers.
* gdk/gdkpango.c (get_cairo_context): Avoid updating the
context if nothing changed.
Diffstat (limited to 'gdk/gdkinternals.h')
-rw-r--r-- | gdk/gdkinternals.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h index d53558567..bb98f4060 100644 --- a/gdk/gdkinternals.h +++ b/gdk/gdkinternals.h @@ -219,7 +219,8 @@ GdkGC *_gdk_drawable_get_scratch_gc (GdkDrawable *drawable, void _gdk_gc_update_context (GdkGC *gc, cairo_t *cr, GdkColor *override_foreground, - GdkBitmap *override_stipple); + GdkBitmap *override_stipple, + gboolean gc_changed); /************************************* * Interfaces used by windowing code * |