gtk2/gdk/x11
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
..
checksettings.c map "gtk-touchscreen-mode" to the "Gtk/TouchscreenMode" XSettings 2006-02-27 14:08:06 +00:00
gdkapplaunchcontext-x11.c Don't leak display name 2010-09-03 12:48:50 -04:00
gdkasync.c gdk/: fully remove gdkalias hacks 2010-07-10 02:21:31 +02:00
gdkasync.h New approach for grab tracking code 2009-04-02 10:15:30 +02:00
gdkcolor-x11.c API: remove gdk_colormap_query_color 2010-08-10 21:02:30 +02:00
gdkcursor-x11.c gdk: Remove data consructors for GdkPixmap 2010-08-10 21:02:31 +02:00
gdkdevice-core.c Merge the xi2-for-master branch 2010-05-25 18:38:44 -04:00
gdkdevice-core.h Merge the xi2-for-master branch 2010-05-25 18:38:44 -04:00
gdkdevice-xi2.c Merge the xi2-for-master branch 2010-05-25 18:38:44 -04:00
gdkdevice-xi2.h Merge the xi2-for-master branch 2010-05-25 18:38:44 -04:00
gdkdevice-xi.c Merge the xi2-for-master branch 2010-05-25 18:38:44 -04:00
gdkdevice-xi.h Merge the xi2-for-master branch 2010-05-25 18:38:44 -04:00
gdkdevicemanager-core.c GDK: Prefix key names with KEY_ 2010-09-08 18:51:44 -04:00
gdkdevicemanager-core.h Merge the xi2-for-master branch 2010-05-25 18:38:44 -04:00
gdkdevicemanager-x11.c Merge the xi2-for-master branch 2010-05-25 18:38:44 -04:00
gdkdevicemanager-xi2.c GDK: Prefix key names with KEY_ 2010-09-08 18:51:44 -04:00
gdkdevicemanager-xi2.h GdkDeviceManager: Add gdk_device_manager_get_client_pointer(). 2010-06-24 02:30:53 +02:00
gdkdevicemanager-xi.c gdk/: fully remove gdkalias hacks 2010-07-10 02:21:31 +02:00
gdkdevicemanager-xi.h Fix up abi checking 2010-06-07 06:16:21 -04:00
gdkdisplay-x11.c Revamp and modernize X error traps 2010-09-18 18:19:27 -04:00
gdkdisplay-x11.h Revamp and modernize X error traps 2010-09-18 18:19:27 -04:00
gdkdnd-x11.c Add annotations 2010-09-17 00:18:20 -04:00
gdkdrawable-x11.c Invalidate cairo surface if resizing is not supported for target 2010-08-10 21:02:31 +02:00
gdkdrawable-x11.h gdk: Remove picture pointer from X11 drawable 2010-08-10 21:02:30 +02:00
gdkeventsource.c gdk/: fully remove gdkalias hacks 2010-07-10 02:21:31 +02:00
gdkeventsource.h Merge the xi2-for-master branch 2010-05-25 18:38:44 -04:00
gdkeventtranslator.c gdk/x11/gdkeventtranslator.c: use G_DEFINE_INTERFACE macro 2010-08-26 14:57:56 +02:00
gdkeventtranslator.h Merge the xi2-for-master branch 2010-05-25 18:38:44 -04:00
gdkgeometry-x11.c gdk: Move scratch GC handling to X11 2010-08-10 21:02:29 +02:00
gdkglobals-x11.c Drop the gdk_display variable from gdk 2010-09-09 19:46:41 -04:00
gdkim-x11.c gdk/: fully remove gdkalias hacks 2010-07-10 02:21:31 +02:00
gdkinput.c Add annotations 2010-09-17 00:18:20 -04:00
gdkkeys-x11.c GDK: Prefix key names with KEY_ 2010-09-08 18:51:44 -04:00
gdkmain-x11.c Revamp and modernize X error traps 2010-09-18 18:19:27 -04:00
gdkpixmap-x11.c gdk: Remove data consructors for GdkPixmap 2010-08-10 21:02:31 +02:00
gdkpixmap-x11.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +00:00
gdkprivate-x11.h Revamp and modernize X error traps 2010-09-18 18:19:27 -04:00
gdkproperty-x11.c gdk/: fully remove gdkalias hacks 2010-07-10 02:21:31 +02:00
gdkscreen-x11.c Fix a doc comment 2010-09-17 09:25:49 -04:00
gdkscreen-x11.h gdk: Move scratch GC handling to X11 2010-08-10 21:02:29 +02:00
gdkselection-x11.c gdk/: fully remove gdkalias hacks 2010-07-10 02:21:31 +02:00
gdksettings.c Add event sound settings. Patch by Lennart Pöttering. 2008-07-01 06:22:04 +00:00
gdkspawn-x11.c gdk/: fully remove gdkalias hacks 2010-07-10 02:21:31 +02:00
gdktestutils-x11.c API: remove gdk_drawable_copy_to_image() 2010-08-10 21:02:26 +02:00
gdkvisual-x11.c Add annotations 2010-09-17 00:18:20 -04:00
gdkwindow-x11.c Add annotations 2010-09-17 00:18:20 -04:00
gdkwindow-x11.h Merge the xi2-for-master branch 2010-05-25 18:38:44 -04:00
gdkx.h Revamp and modernize X error traps 2010-09-18 18:19:27 -04:00
gdkxftdefaults.c gdk-xft: Don't call render about the subpixel order 2010-08-10 21:02:30 +02:00
gdkxid.c gdk/: fully remove gdkalias hacks 2010-07-10 02:21:31 +02:00
gxid_proto.h Initial revision 1997-11-24 22:37:52 +00:00
Makefile.am API: remove GdkGC 2010-08-10 21:02:29 +02:00
MwmUtil.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +00:00
xsettings-client.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
xsettings-client.h Change the XSettingsWatchFunc to return a Bool to indicate success. Update 2007-04-10 23:16:30 +00:00
xsettings-common.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
xsettings-common.h Add some missing symbols. 2007-05-23 17:49:34 +00:00