From: Chong Yidong Date: Fri, 16 Jan 2009 15:10:28 +0000 (+0000) Subject: (x_make_gc): Don't allocate stipple member for gc_values; it is not X-Git-Tag: emacs-pretest-23.0.90~412 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c8bcd18afb92587391000ccd826b3bcbe8b2d7a9;p=emacs.git (x_make_gc): Don't allocate stipple member for gc_values; it is not even used. --- diff --git a/src/xfns.c b/src/xfns.c index f3f14ca236e..4be3d1df664 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -2942,14 +2942,10 @@ x_make_gc (f) gc_values.foreground = FRAME_BACKGROUND_PIXEL (f); gc_values.background = f->output_data.x->cursor_pixel; gc_values.fill_style = FillOpaqueStippled; - gc_values.stipple - = XCreateBitmapFromData (FRAME_X_DISPLAY (f), - FRAME_X_DISPLAY_INFO (f)->root_window, - cursor_bits, 16, 16); f->output_data.x->cursor_gc = XCreateGC (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), (GCForeground | GCBackground - | GCFillStyle /* | GCStipple */ | GCLineWidth), + | GCFillStyle | GCLineWidth), &gc_values); /* Reliefs. */