toolkit/xre/nsX11ErrorHandler.h
author Mike Conley <mconley@mozilla.com>
Fri, 10 Apr 2015 13:45:22 -0400
changeset 257771 40a21375b99be21a55df2a7c415ccf240715922f
parent 203538 55620c684232c453e299d64a4e2d3103c2f0f858
child 357682 cee10a2c348a6768803bf01b7852d811df50b587
permissions -rw-r--r--
Bug 1152864 - Disable unsafe CPOW warnings when running mochitests by default, and add option to re-enable. r=ahal. --enable-cpow-warnings can now be passed when running a mochitest to re-enable the warnings, should one wish to do that.

/* -*- Mode: C++; tab-width: 40; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifdef MOZ_X11
#include <X11/Xlib.h>
#if (MOZ_WIDGET_GTK != 3)
void InstallX11ErrorHandler();
#endif
extern "C" int X11Error(Display *display, XErrorEvent *event);
#endif