From 448d903c1661d52181664243f3487c63ef55d6b2 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 1 Oct 2010 08:16:38 -0400 Subject: [PATCH] GDK docs: improve the gdk_x11_display_error_trap_push docs --- gdk/x11/gdkdisplay-x11.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c index 4c07fefbfb..a7213f2fe9 100644 --- a/gdk/x11/gdkdisplay-x11.c +++ b/gdk/x11/gdkdisplay-x11.c @@ -2790,10 +2790,13 @@ delete_outdated_error_traps (GdkDisplayX11 *display_x11) /** * gdk_x11_display_error_trap_push: + * @display: a #GdkDisplay * - * Begins a range of X requests for which X error events will be - * ignored. Unignored errors (when no trap is pushed) will abort the - * application. + * Begins a range of X requests on @display for which X error events + * will be ignored. Unignored errors (when no trap is pushed) will abort + * the application. Use gdk_x11_display_error_trap_pop() or + * gdk_x11_display_error_trap_pop_ignored()to lift a trap pushed + * with this function. * * See also gdk_error_trap_push() to push a trap on all displays. *