[gtk+] GDK docs: improve the gdk_x11_display_error_trap_push docs



commit 448d903c1661d52181664243f3487c63ef55d6b2
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Oct 1 08:16:38 2010 -0400

    GDK docs: improve the gdk_x11_display_error_trap_push docs

 gdk/x11/gdkdisplay-x11.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c
index 4c07fef..a7213f2 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.
  *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]