diff options
| author | Paul Eggert | 2017-02-18 18:16:37 -0800 |
|---|---|---|
| committer | Paul Eggert | 2017-02-18 18:17:03 -0800 |
| commit | b2a83eed23d540b4b0ab9e0bf5605821011bfd7d (patch) | |
| tree | 20545c597c19d213252bcdba7076a807ec633867 /src/widget.c | |
| parent | 7f89c208bf4bb256c67cc59351f4171c7a6b63aa (diff) | |
| download | emacs-b2a83eed23d540b4b0ab9e0bf5605821011bfd7d.tar.gz emacs-b2a83eed23d540b4b0ab9e0bf5605821011bfd7d.zip | |
Use 'char *FOO' instead of 'char* FOO'
Diffstat (limited to 'src/widget.c')
| -rw-r--r-- | src/widget.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/widget.c b/src/widget.c index b05fd8310ab..96555ed2ac7 100644 --- a/src/widget.c +++ b/src/widget.c | |||
| @@ -148,7 +148,7 @@ WidgetClass emacsFrameClass = (WidgetClass) &emacsFrameClassRec; | |||
| 148 | static void | 148 | static void |
| 149 | get_default_char_pixel_size (EmacsFrame ew, int *pixel_width, int *pixel_height) | 149 | get_default_char_pixel_size (EmacsFrame ew, int *pixel_width, int *pixel_height) |
| 150 | { | 150 | { |
| 151 | struct frame* f = ew->emacs_frame.frame; | 151 | struct frame *f = ew->emacs_frame.frame; |
| 152 | *pixel_width = FRAME_COLUMN_WIDTH (f); | 152 | *pixel_width = FRAME_COLUMN_WIDTH (f); |
| 153 | *pixel_height = FRAME_LINE_HEIGHT (f); | 153 | *pixel_height = FRAME_LINE_HEIGHT (f); |
| 154 | } | 154 | } |
| @@ -156,7 +156,7 @@ get_default_char_pixel_size (EmacsFrame ew, int *pixel_width, int *pixel_height) | |||
| 156 | static void | 156 | static void |
| 157 | pixel_to_char_size (EmacsFrame ew, Dimension pixel_width, Dimension pixel_height, int *char_width, int *char_height) | 157 | pixel_to_char_size (EmacsFrame ew, Dimension pixel_width, Dimension pixel_height, int *char_width, int *char_height) |
| 158 | { | 158 | { |
| 159 | struct frame* f = ew->emacs_frame.frame; | 159 | struct frame *f = ew->emacs_frame.frame; |
| 160 | *char_width = FRAME_PIXEL_WIDTH_TO_TEXT_COLS (f, (int) pixel_width); | 160 | *char_width = FRAME_PIXEL_WIDTH_TO_TEXT_COLS (f, (int) pixel_width); |
| 161 | *char_height = FRAME_PIXEL_HEIGHT_TO_TEXT_LINES (f, (int) pixel_height); | 161 | *char_height = FRAME_PIXEL_HEIGHT_TO_TEXT_LINES (f, (int) pixel_height); |
| 162 | } | 162 | } |
| @@ -164,7 +164,7 @@ pixel_to_char_size (EmacsFrame ew, Dimension pixel_width, Dimension pixel_height | |||
| 164 | static void | 164 | static void |
| 165 | pixel_to_text_size (EmacsFrame ew, Dimension pixel_width, Dimension pixel_height, int *text_width, int *text_height) | 165 | pixel_to_text_size (EmacsFrame ew, Dimension pixel_width, Dimension pixel_height, int *text_width, int *text_height) |
| 166 | { | 166 | { |
| 167 | struct frame* f = ew->emacs_frame.frame; | 167 | struct frame *f = ew->emacs_frame.frame; |
| 168 | *text_width = FRAME_PIXEL_TO_TEXT_WIDTH (f, (int) pixel_width); | 168 | *text_width = FRAME_PIXEL_TO_TEXT_WIDTH (f, (int) pixel_width); |
| 169 | *text_height = FRAME_PIXEL_TO_TEXT_HEIGHT (f, (int) pixel_height); | 169 | *text_height = FRAME_PIXEL_TO_TEXT_HEIGHT (f, (int) pixel_height); |
| 170 | } | 170 | } |
| @@ -172,7 +172,7 @@ pixel_to_text_size (EmacsFrame ew, Dimension pixel_width, Dimension pixel_height | |||
| 172 | static void | 172 | static void |
| 173 | char_to_pixel_size (EmacsFrame ew, int char_width, int char_height, Dimension *pixel_width, Dimension *pixel_height) | 173 | char_to_pixel_size (EmacsFrame ew, int char_width, int char_height, Dimension *pixel_width, Dimension *pixel_height) |
| 174 | { | 174 | { |
| 175 | struct frame* f = ew->emacs_frame.frame; | 175 | struct frame *f = ew->emacs_frame.frame; |
| 176 | *pixel_width = FRAME_TEXT_COLS_TO_PIXEL_WIDTH (f, char_width); | 176 | *pixel_width = FRAME_TEXT_COLS_TO_PIXEL_WIDTH (f, char_width); |
| 177 | *pixel_height = FRAME_TEXT_LINES_TO_PIXEL_HEIGHT (f, char_height); | 177 | *pixel_height = FRAME_TEXT_LINES_TO_PIXEL_HEIGHT (f, char_height); |
| 178 | } | 178 | } |
| @@ -365,8 +365,8 @@ EmacsFrameInitialize (Widget request, Widget new, ArgList dum1, Cardinal *dum2) | |||
| 365 | static void | 365 | static void |
| 366 | resize_cb (Widget widget, | 366 | resize_cb (Widget widget, |
| 367 | XtPointer closure, | 367 | XtPointer closure, |
| 368 | XEvent* event, | 368 | XEvent *event, |
| 369 | Boolean* continue_to_dispatch) | 369 | Boolean *continue_to_dispatch) |
| 370 | { | 370 | { |
| 371 | EmacsFrameResize (widget); | 371 | EmacsFrameResize (widget); |
| 372 | } | 372 | } |