diff options
| author | Juanma Barranquero | 2011-09-09 03:06:52 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2011-09-09 03:06:52 +0200 |
| commit | 5e617bc2b62189768814fafd1a875e89a094d3ef (patch) | |
| tree | d96d22e012035d044557abf4de0b8e30b03d61b7 /src/widget.c | |
| parent | 9b1c252e294bed3aef0d2f2fc5d1fa9f72df9ee8 (diff) | |
| download | emacs-5e617bc2b62189768814fafd1a875e89a094d3ef.tar.gz emacs-5e617bc2b62189768814fafd1a875e89a094d3ef.zip | |
Whitespace changes.
Diffstat (limited to 'src/widget.c')
| -rw-r--r-- | src/widget.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/widget.c b/src/widget.c index a09ec2631ad..0582718948d 100644 --- a/src/widget.c +++ b/src/widget.c | |||
| @@ -86,12 +86,12 @@ static XtGeometryResult EmacsFrameQueryGeometry (Widget widget, XtWidgetGeometry | |||
| 86 | #undef XtOffset | 86 | #undef XtOffset |
| 87 | #define XtOffset(p_type,field) \ | 87 | #define XtOffset(p_type,field) \ |
| 88 | ((Cardinal) (((char *) (&(((p_type)0)->field))) - ((char *)0))) | 88 | ((Cardinal) (((char *) (&(((p_type)0)->field))) - ((char *)0))) |
| 89 | #define offset(field) XtOffset(EmacsFrame, emacs_frame.field) | 89 | #define offset(field) XtOffset (EmacsFrame, emacs_frame.field) |
| 90 | 90 | ||
| 91 | static XtResource resources[] = { | 91 | static XtResource resources[] = { |
| 92 | {XtNgeometry, XtCGeometry, XtRString, sizeof(String), | 92 | {XtNgeometry, XtCGeometry, XtRString, sizeof (String), |
| 93 | offset (geometry), XtRString, (XtPointer) 0}, | 93 | offset (geometry), XtRString, (XtPointer) 0}, |
| 94 | {XtNiconic, XtCIconic, XtRBoolean, sizeof(Boolean), | 94 | {XtNiconic, XtCIconic, XtRBoolean, sizeof (Boolean), |
| 95 | offset (iconic), XtRImmediate, (XtPointer) False}, | 95 | offset (iconic), XtRImmediate, (XtPointer) False}, |
| 96 | 96 | ||
| 97 | {XtNemacsFrame, XtCEmacsFrame, XtRPointer, sizeof (XtPointer), | 97 | {XtNemacsFrame, XtCEmacsFrame, XtRPointer, sizeof (XtPointer), |
| @@ -105,12 +105,12 @@ static XtResource resources[] = { | |||
| 105 | offset (internal_border_width), XtRImmediate, (XtPointer)4}, | 105 | offset (internal_border_width), XtRImmediate, (XtPointer)4}, |
| 106 | {XtNinterline, XtCInterline, XtRInt, sizeof (int), | 106 | {XtNinterline, XtCInterline, XtRInt, sizeof (int), |
| 107 | offset (interline), XtRImmediate, (XtPointer)0}, | 107 | offset (interline), XtRImmediate, (XtPointer)0}, |
| 108 | {XtNfont, XtCFont, XtRFontStruct, sizeof(struct font *), | 108 | {XtNfont, XtCFont, XtRFontStruct, sizeof (struct font *), |
| 109 | offset(font),XtRString, DEFAULT_FACE_FONT}, | 109 | offset (font),XtRString, DEFAULT_FACE_FONT}, |
| 110 | {XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), | 110 | {XtNforeground, XtCForeground, XtRPixel, sizeof (Pixel), |
| 111 | offset(foreground_pixel), XtRString, "XtDefaultForeground"}, | 111 | offset (foreground_pixel), XtRString, "XtDefaultForeground"}, |
| 112 | {XtNcursorColor, XtCForeground, XtRPixel, sizeof(Pixel), | 112 | {XtNcursorColor, XtCForeground, XtRPixel, sizeof (Pixel), |
| 113 | offset(cursor_color), XtRString, "XtDefaultForeground"}, | 113 | offset (cursor_color), XtRString, "XtDefaultForeground"}, |
| 114 | {XtNbarCursor, XtCBarCursor, XtRBoolean, sizeof (Boolean), | 114 | {XtNbarCursor, XtCBarCursor, XtRBoolean, sizeof (Boolean), |
| 115 | offset (bar_cursor), XtRImmediate, (XtPointer)0}, | 115 | offset (bar_cursor), XtRImmediate, (XtPointer)0}, |
| 116 | {XtNvisualBell, XtCVisualBell, XtRBoolean, sizeof (Boolean), | 116 | {XtNvisualBell, XtCVisualBell, XtRBoolean, sizeof (Boolean), |
| @@ -141,7 +141,7 @@ static EmacsFrameClassRec emacsFrameClassRec = { | |||
| 141 | { /* core fields */ | 141 | { /* core fields */ |
| 142 | /* superclass */ &widgetClassRec, | 142 | /* superclass */ &widgetClassRec, |
| 143 | /* class_name */ "EmacsFrame", | 143 | /* class_name */ "EmacsFrame", |
| 144 | /* widget_size */ sizeof(EmacsFrameRec), | 144 | /* widget_size */ sizeof (EmacsFrameRec), |
| 145 | /* class_initialize */ 0, | 145 | /* class_initialize */ 0, |
| 146 | /* class_part_initialize */ 0, | 146 | /* class_part_initialize */ 0, |
| 147 | /* class_inited */ FALSE, | 147 | /* class_inited */ FALSE, |
| @@ -151,7 +151,7 @@ static EmacsFrameClassRec emacsFrameClassRec = { | |||
| 151 | /* actions */ 0, /*emacsFrameActionsTable*/ | 151 | /* actions */ 0, /*emacsFrameActionsTable*/ |
| 152 | /* num_actions */ 0, /*XtNumber (emacsFrameActionsTable)*/ | 152 | /* num_actions */ 0, /*XtNumber (emacsFrameActionsTable)*/ |
| 153 | /* resources */ resources, | 153 | /* resources */ resources, |
| 154 | /* resource_count */ XtNumber(resources), | 154 | /* resource_count */ XtNumber (resources), |
| 155 | /* xrm_class */ NULLQUARK, | 155 | /* xrm_class */ NULLQUARK, |
| 156 | /* compress_motion */ TRUE, | 156 | /* compress_motion */ TRUE, |
| 157 | /* compress_exposure */ TRUE, | 157 | /* compress_exposure */ TRUE, |
| @@ -574,7 +574,7 @@ setup_frame_gcs (EmacsFrame ew) | |||
| 574 | never actually get used as a background tile! | 574 | never actually get used as a background tile! |
| 575 | */ | 575 | */ |
| 576 | blank_tile | 576 | blank_tile |
| 577 | = XCreatePixmapFromBitmapData (XtDisplay(ew), | 577 | = XCreatePixmapFromBitmapData (XtDisplay (ew), |
| 578 | RootWindowOfScreen (XtScreen (ew)), | 578 | RootWindowOfScreen (XtScreen (ew)), |
| 579 | setup_frame_cursor_bits, 2, 2, | 579 | setup_frame_cursor_bits, 2, 2, |
| 580 | 0, 1, ew->core.depth); | 580 | 0, 1, ew->core.depth); |