diff options
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2015-02-16 10:53:40 +0900 |
---|---|---|
committer | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2015-02-16 10:53:40 +0900 |
commit | a7930e125e27d3591bcf20aa3cd954dc5993ad1b (patch) | |
tree | 5adc62d977eb033bd94fd0f874713530b97b3e28 /src/gtkutil.c | |
parent | 426af0ef9f2008d78633a2f3c1daf1ddbe9d8e6e (diff) | |
download | emacs-a7930e125e27d3591bcf20aa3cd954dc5993ad1b.tar.gz |
Modernize k&r cairo-related function declarations.
* gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page)
(xg_print_frames_dialog): Modernize k&r declarations.
* xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup)
(Fx_print_frames_dialog): Modernize k&r declarations.
* xterm.c (x_gc_get_ext_data, x_extension_initialize, x_begin_cr_clip)
(x_end_cr_clip, x_set_cr_source_with_gc_foreground)
(x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
(x_cr_destroy_fringe_bitmap, x_cr_draw_frame, x_cr_accumulate_data)
(x_cr_destroy, x_cr_export_frames, x_prepare_for_xlibdraw)
(x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
(x_draw_rectangle, x_clear_window, x_fill_trapezoid_for_relief)
(x_clear_area): Modernize k&r declarations.
Diffstat (limited to 'src/gtkutil.c')
-rw-r--r-- | src/gtkutil.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c index f111ea80cef..e357eb85730 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -4051,7 +4051,7 @@ static GtkPrintSettings *print_settings = NULL; static GtkPageSetup *page_setup = NULL; void -xg_page_setup_dialog () +xg_page_setup_dialog (void) { GtkPageSetup *new_page_setup = NULL; @@ -4065,7 +4065,7 @@ xg_page_setup_dialog () } Lisp_Object -xg_get_page_setup () +xg_get_page_setup (void) { Lisp_Object result, orientation_symbol; GtkPageOrientation orientation; @@ -4107,11 +4107,8 @@ xg_get_page_setup () } static void -draw_page (operation, context, page_nr, user_data) - GtkPrintOperation *operation; - GtkPrintContext *context; - gint page_nr; - gpointer user_data; +draw_page (GtkPrintOperation *operation, GtkPrintContext *context, + gint page_nr, gpointer user_data) { Lisp_Object frames = *((Lisp_Object *) user_data); struct frame *f = XFRAME (Fnth (make_number (page_nr), frames)); @@ -4121,8 +4118,7 @@ draw_page (operation, context, page_nr, user_data) } void -xg_print_frames_dialog (frames) - Lisp_Object frames; +xg_print_frames_dialog (Lisp_Object frames) { GtkPrintOperation *print; GtkPrintOperationResult res; |