gtk2/docs/reference/gdk/tmpl
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
..
.gitignore [docs] Added some missing documentation to GdkDnd 2010-06-09 06:39:02 +02:00
cairo_interaction.sgml Make 3.0 parallel-installable to 2.x 2010-05-08 01:18:53 -04:00
colors.sgml API: remove gdk_colormap_query_color 2010-08-10 21:02:30 +02:00
cursors.sgml docs: Add gdk_cursor_get_cursor_type() template 2010-07-31 22:42:59 +02:00
drawing.sgml API: remove gdk_draw_drawable() 2010-08-10 21:02:29 +02:00
event_structs.sgml API: remove gdk_draw_drawable() 2010-08-10 21:02:29 +02:00
events.sgml 2.90.1 2010-05-25 22:57:46 -04:00
gdk-unused.sgml Make 3.0 parallel-installable to 2.x 2010-05-08 01:18:53 -04:00
gdkapplaunchcontext.sgml Make 3.0 parallel-installable to 2.x 2010-05-08 01:18:53 -04:00
gdkdisplay.sgml docs: Add sgml goo for gdk_display_is_closed() 2010-08-10 21:02:25 +02:00
gdkdisplaymanager.sgml Make 3.0 parallel-installable to 2.x 2010-05-08 01:18:53 -04:00
gdkscreen.sgml API: remove gdk_screen_get_rgb_colormap/visual() 2010-08-10 21:02:26 +02:00
gdktesting.sgml Make 3.0 parallel-installable to 2.x 2010-05-08 01:18:53 -04:00
general.sgml Revamp and modernize X error traps 2010-09-18 18:19:27 -04:00
keys.sgml Include gdkkeysyms.h in gdk.h 2010-09-10 11:08:18 -04:00
pango_interaction.sgml API: remove GdkPangoRenderer 2010-08-10 21:02:29 +02:00
pixbufs.sgml API: remove gdk_drawable_get_image() 2010-08-10 21:02:26 +02:00
pixmaps.sgml gdk: Remove data consructors for GdkPixmap 2010-08-10 21:02:31 +02:00
properties.sgml 2.90.1 2010-05-25 22:57:46 -04:00
regions.sgml API: Remove all GdkRegion API 2010-06-29 16:06:58 +02:00
selections.sgml Make 3.0 parallel-installable to 2.x 2010-05-08 01:18:53 -04:00
threads.sgml Remove also the docs for the gdk_threads_mutex variable 2010-09-08 21:31:33 +03:00
visuals.sgml API: remove GdkImage 2010-08-10 21:02:26 +02:00
x_interaction.sgml API: remove GdkGC 2010-08-10 21:02:29 +02:00