diff options
| author | Paul Eggert | 2013-10-28 14:19:38 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-10-28 14:19:38 -0700 |
| commit | b7e0ef72d0ac61b5d3ef06a3f565695c75ec2540 (patch) | |
| tree | e79af5cd4685cc074a535d8454babf650a82e48d /src/image.c | |
| parent | 4efc33f01d0344a52670eb0c0250d5ef40bb7952 (diff) | |
| download | emacs-b7e0ef72d0ac61b5d3ef06a3f565695c75ec2540.tar.gz emacs-b7e0ef72d0ac61b5d3ef06a3f565695c75ec2540.zip | |
* dispextern.h, image.c (x_bitmap_height, x_bitmap_width): Now static.
* xfaces.c (load_pixmap): Omit last two args, which are always NULL
in practice now. All callers changed.
Diffstat (limited to 'src/image.c')
| -rw-r--r-- | src/image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/image.c b/src/image.c index 2b07b83b816..6691cfc8a10 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -159,13 +159,13 @@ XPutPixel (XImagePtr ximage, int x, int y, unsigned long pixel) | |||
| 159 | 159 | ||
| 160 | /* Functions to access the contents of a bitmap, given an id. */ | 160 | /* Functions to access the contents of a bitmap, given an id. */ |
| 161 | 161 | ||
| 162 | int | 162 | static int |
| 163 | x_bitmap_height (struct frame *f, ptrdiff_t id) | 163 | x_bitmap_height (struct frame *f, ptrdiff_t id) |
| 164 | { | 164 | { |
| 165 | return FRAME_DISPLAY_INFO (f)->bitmaps[id - 1].height; | 165 | return FRAME_DISPLAY_INFO (f)->bitmaps[id - 1].height; |
| 166 | } | 166 | } |
| 167 | 167 | ||
| 168 | int | 168 | static int |
| 169 | x_bitmap_width (struct frame *f, ptrdiff_t id) | 169 | x_bitmap_width (struct frame *f, ptrdiff_t id) |
| 170 | { | 170 | { |
| 171 | return FRAME_DISPLAY_INFO (f)->bitmaps[id - 1].width; | 171 | return FRAME_DISPLAY_INFO (f)->bitmaps[id - 1].width; |