gtk/docs/reference/gdk
Havoc Pennington b837ef5a6d Revamp and modernize X error traps
* add per-display gdk_x11_display_error_trap_push()
  (X11-specific because gdk_error_trap_push() probably
  should have been)
* make gdk_error_trap_push() handle only GDK displays
  not displays opened without a GDK wrapper
* make gdk_error_trap_pop() and gdk_x11_display_error_trap_pop()
  automatically sync only if needed, so manual gdk_flush() is not
  required
* add gdk_error_trap_pop_ignored() which just asynchronously
  ignores errors, so never needs to sync
* add G_GNUC_WARN_UNUSED_RESULT to plain pop(), because
  if you use plain pop() and don't need the return value,
  the async gdk_error_trap_pop_ignored() should be used
  instead. This results in lots of warnings to clean
  up in a later patch.

The main objective here was to avoid the need to sync just
to ignore an error. Now, syncing is automatic, and only
happens when we need to know the error code.

https://bugzilla.gnome.org/show_bug.cgi?id=629608
2010-09-18 18:19:27 -04:00
..
images Update for GdkPangoRenderer 2004-11-21 16:24:58 +00:00
tmpl Revamp and modernize X error traps 2010-09-18 18:19:27 -04:00
gdk3-overrides.txt Fix doc generation: rename gdk-overrides.txt to gdk3-overrides 2010-05-13 05:02:59 +02:00
gdk3-sections.txt Drop the gdk_display variable from gdk 2010-09-09 19:46:41 -04:00
gdk3.types API: remove GdkGC 2010-08-10 21:02:29 +02:00
gdk-docs.sgml API: remove GdkGC 2010-08-10 21:02:29 +02:00
Makefile.am directfb: Remove 2010-08-23 12:44:58 +02:00
multihead.sgml Use xi:include instead of entities to ease maintenance and speed up 2008-09-06 09:47:18 +00:00
version.xml.in Add package version info to API docs. 2002-11-21 20:19:01 +00:00