summaryrefslogtreecommitdiff
path: root/src/image.c
diff options
context:
space:
mode:
authorYuuki Harano <masm+github@masm11.me>2021-11-14 20:27:31 +0900
committerYuuki Harano <masm+github@masm11.me>2021-11-14 20:27:31 +0900
commit30a00f14c824e5e4005a1cb6ccf2f26def19d80b (patch)
treec1c4232181c4d091fc389d6934929795f94ac488 /src/image.c
parent3e20d50fc5a8fc94b571e140a696ccd65040e6c1 (diff)
downloademacs-30a00f14c824e5e4005a1cb6ccf2f26def19d80b.tar.gz
emacs-30a00f14c824e5e4005a1cb6ccf2f26def19d80b.tar.bz2
emacs-30a00f14c824e5e4005a1cb6ccf2f26def19d80b.zip
Fix coding style
Especially, insert a space between function name and paren. * src/alloc.c (garbage_collect): * src/font.h: * src/frame.h: * src/fringe.c: * src/gtkutil.c (xg_set_screen): (xg_create_frame_widgets): (xg_create_frame_outer_widgets): (xg_get_file_name): (xg_get_font): (xg_update_scrollbar_pos): * src/image.c (image_create_bitmap_from_file): (xpm_load_image): * src/pgtkfns.c (pgtk_get_monitor_scale_factor): (is_wayland_display): (pgtk_display_info_for_name): (INSTALL_CURSOR): (Fx_create_frame): (Fx_display_mm_height): (Fx_display_mm_width): (Fx_display_pixel_width): (Fx_display_pixel_height): * src/pgtkselect.c (pgtk_selection_usable): (Fpgtk_own_selection_internal): (Fpgtk_get_selection_internal): * src/pgtkterm.c: (x_set_parent_frame): (pgtk_draw_fringe_bitmap): (pgtk_handle_draw): (scroll_event): (pgtk_text_scaling_factor): (pgtk_term_init): * src/pgtkterm.h: * src/window.h: * src/xdisp.c (redisplay_internal): (draw_glyphs_debug): (draw_glyphs): (note_mouse_highlight):
Diffstat (limited to 'src/image.c')
-rw-r--r--src/image.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/image.c b/src/image.c
index d03e16e5c8c..a41a2a16a64 100644
--- a/src/image.c
+++ b/src/image.c
@@ -585,15 +585,15 @@ image_create_bitmap_from_file (struct frame *f, Lisp_Object file)
#ifdef HAVE_PGTK
GError *err = NULL;
ptrdiff_t id;
- void * bitmap = gdk_pixbuf_new_from_file(SSDATA(file), &err);
+ void * bitmap = gdk_pixbuf_new_from_file (SSDATA (file), &err);
if (!bitmap)
{
- g_error_free(err);
+ g_error_free (err);
return -1;
}
- id = image_allocate_bitmap_record(f);
+ id = image_allocate_bitmap_record (f);
dpyinfo->bitmaps[id - 1].img = bitmap;
dpyinfo->bitmaps[id - 1].refcount = 1;
@@ -5034,7 +5034,7 @@ xpm_load_image (struct frame *f,
Lisp_Object (*get_color_table) (Lisp_Object, const char *, int);
Lisp_Object frame, color_symbols, color_table;
int best_key;
-#if !defined(HAVE_NS)
+#if !defined (HAVE_NS)
bool have_mask = false;
#endif
Emacs_Pix_Container ximg = NULL, mask_img = NULL;