Mercurial > hg > xemacs-beta
diff src/event-gtk.c @ 1416:b0c1d9dc4b08
[xemacs-hg @ 2003-04-15 17:21:34 by stephent]
pedantic style <87el43bruu.fsf@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Tue, 15 Apr 2003 17:21:36 +0000 |
parents | d47e87058e8f |
children | a8d8f419b459 |
line wrap: on
line diff
--- a/src/event-gtk.c Tue Apr 15 17:01:57 2003 +0000 +++ b/src/event-gtk.c Tue Apr 15 17:21:36 2003 +0000 @@ -1476,17 +1476,20 @@ return (FALSE); } -gint emacs_gtk_key_event_handler(GtkWidget *widget, GdkEventKey *event) +gint +emacs_gtk_key_event_handler (GtkWidget *widget, GdkEventKey *event) { return (generic_event_handler (widget, (GdkEvent *) event)); } -gint emacs_gtk_button_event_handler(GtkWidget *widget, GdkEventButton *event) +gint +emacs_gtk_button_event_handler (GtkWidget *widget, GdkEventButton *event) { return (generic_event_handler (widget, (GdkEvent *) event)); } -gint emacs_gtk_motion_event_handler (GtkWidget *widget, GdkEventMotion *event) +gint +emacs_gtk_motion_event_handler (GtkWidget *widget, GdkEventMotion *event) { return (generic_event_handler (widget, (GdkEvent *) event)); } @@ -1594,7 +1597,8 @@ DEFSYMBOL (Qsans_modifiers); } -void reinit_vars_of_event_gtk (void) +void +reinit_vars_of_event_gtk (void) { gtk_event_stream = xnew_and_zero (struct event_stream); gtk_event_stream->event_pending_p = emacs_gtk_event_pending_p; @@ -1653,7 +1657,8 @@ } /* Bogus utility routines */ -static const char *event_name (GdkEvent *ev) +static const char * +event_name (GdkEvent *ev) { return (gtk_event_name (ev->any.type)); }