#include "blockinput.h"
#include "keymap.h"
#include "frame.h"
+#include "xwidget.h"
-#ifdef HAVE_XWIDGETS
-# include "xwidget.h"
-#endif
#ifdef WINDOWSNT
#include "w32heap.h" /* for mmap_* */
#endif
unlock_buffer (b);
kill_buffer_processes (buffer);
-
-#ifdef HAVE_XWIDGETS
kill_buffer_xwidgets (buffer);
-#endif
+
/* Killing buffer processes may run sentinels which may have killed
our buffer. */
if (!BUFFER_LIVE_P (b))