From 628eb368a0876085069b26299475af6fa2d9a69d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gr=C3=A9goire=20Jadi?= Date: Tue, 4 Jun 2013 12:41:13 +0200 Subject: [PATCH] * src/xwidget.c src/xwidget.h: Add comments to indicate to which #ifdef some #endif are associated when it's not obvious. --- src/xwidget.c | 14 +++++++------- src/xwidget.h | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/xwidget.c b/src/xwidget.c index d169069c99d..42659723a4b 100644 --- a/src/xwidget.c +++ b/src/xwidget.c @@ -68,7 +68,7 @@ #include "gtkutil.h" #include "font.h" -#endif +#endif /* HAVE_X_WINDOWS */ #include #include @@ -293,7 +293,7 @@ DEFUN ("make-xwidget", Fmake_xwidget, Smake_xwidget, 7, 7, 0, unblock_input(); } -#endif +#endif /* HAVE_WEBKIT_OSR */ UNGCPRO; return val; @@ -792,7 +792,7 @@ refactor_attempt(){ } return Qt; } -#endif +#endif /* 0 */ DEFUN ("xwgir-xwidget-call-method", Fxwgir_xwidget_call_method, Sxwgir_xwidget_call_method, 3, 3, 0, doc: /* call xwidget object method.*/) @@ -1025,7 +1025,7 @@ xwidget_init_view (struct xwidget *xww, /* Show the stage: */ clutter_actor_show (stage); -#endif +#endif /* HAVE_CLUTTER */ } else if (EQ(xww->type, Qwebkit_osr)|| EQ(xww->type, Qsocket_osr)|| (Fget(xww->type, Qcxwgir_class) != Qnil))//xwgir widgets are OSR @@ -1067,7 +1067,7 @@ xwidget_init_view (struct xwidget *xww, /* g_signal_connect (G_OBJECT ( xv->widget), "key-release-event", */ /* G_CALLBACK (xwidget_osr_event_forward), NULL); */ -#endif +#endif /* HAVE_WEBKIT_OSR */ } @@ -1350,7 +1350,7 @@ DEFUN ("xwidget-webkit-dom-dump", Fxwidget_webkit_dom_dump, Sxwidget_webkit_dom -#endif +#endif /* HAVE_WEBKIT_OSR */ @@ -1852,4 +1852,4 @@ xwidget_end_redisplay (struct window *w, struct glyph_matrix *matrix) } -#endif +#endif /* HAVE_XWIDGETS */ diff --git a/src/xwidget.h b/src/xwidget.h index e5cfe6de902..92c6e6e3513 100644 --- a/src/xwidget.h +++ b/src/xwidget.h @@ -107,4 +107,4 @@ struct xwidget* lookup_xwidget (Lisp_Object spec); #define XG_XWIDGET "emacs_xwidget" #define XG_XWIDGET_VIEW "emacs_xwidget_view" void xwidget_view_delete_all_in_window( struct window *w ); -#endif +#endif /* XWIDGET_H_INCLUDED */ -- 2.39.2