summaryrefslogtreecommitdiff
path: root/gdk/gdkgc.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@src.gnome.org>1997-12-18 02:17:14 +0000
committerOwen Taylor <otaylor@src.gnome.org>1997-12-18 02:17:14 +0000
commitd5d01a5af9aaa11762d7ba86760796df00af3786 (patch)
treec12bb7c7980b3177456cab8987755a976297b205 /gdk/gdkgc.c
parent65e63db01e93820093c2eb5169d5f8c0be3fe4e5 (diff)
downloadgdk-pixbuf-d5d01a5af9aaa11762d7ba86760796df00af3786.tar.gz
It's all in the changelog. Well, almost all.
-owt
Diffstat (limited to 'gdk/gdkgc.c')
-rw-r--r--gdk/gdkgc.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gdk/gdkgc.c b/gdk/gdkgc.c
index a7bf8520d..9436136c8 100644
--- a/gdk/gdkgc.c
+++ b/gdk/gdkgc.c
@@ -141,11 +141,13 @@ gdk_gc_new_with_values (GdkWindow *window,
xvalues.clip_y_origin = values->clip_y_origin;
xvalues_mask |= GCClipYOrigin;
}
+
if (values_mask & GDK_GC_EXPOSURES)
- {
- xvalues.graphics_exposures = values->graphics_exposures;
- xvalues_mask |= GCGraphicsExposures;
- }
+ xvalues.graphics_exposures = values->graphics_exposures;
+ else
+ xvalues.graphics_exposures = False;
+ xvalues_mask |= GCGraphicsExposures;
+
if (values_mask & GDK_GC_LINE_WIDTH)
{
xvalues.line_width = values->line_width;