gtk2/gdk
Richard Hult d7a33adeda Update for the new quartz cairo surface API (#410442). Don't lock focus
2007-03-10  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkdrawable-quartz.c:
	(gdk_quartz_drawable_get_context): Update for the new quartz cairo 
	surface API (#410442). Don't lock focus unless called outside of an 
	expose event.
	(gdk_quartz_drawable_release_context): Only flush the CG context and 
	unlock focus if called outside of expose.
	(gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
	(_gdk_quartz_drawable_finish): New function, used to free the cached
	cairo surface.

	* gdk/quartz/gdkwindow-quartz.c:
	(gdk_window_impl_quartz_begin_paint_region): A few small style changes.
	(gdk_window_quartz_process_all_updates): Move the autorelease pool
	allocation and freeing outside the loop.
	(_gdk_windowing_window_destroy): Finish the drawable.
	(move_resize_window_internal): Small cleanup and remove comment.
	(_gdk_window_impl_quartz_get_type): No need to make the type info
	static.

	* gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.

svn path=/trunk/; revision=17463
2007-03-10 21:58:49 +00:00
..
directfb Mouse crossing fixes from Attilio 2007-01-20 07:05:55 +00:00
linux-fb Remove unnecessary NULL checks before g_free(). (#369666, Morten Welinder, 2007-03-09 21:57:37 +00:00
quartz Update for the new quartz cairo surface API (#410442). Don't lock focus 2007-03-10 21:58:49 +00:00
win32 Remove unnecessary NULL checks before g_free(). (#369666, Morten Welinder, 2007-03-09 21:57:37 +00:00
x11 Remove unnecessary NULL checks before g_free(). (#369666, Morten Welinder, 2007-03-09 21:57:37 +00:00
.cvsignore Shut up CVS 2005-03-16 04:36:05 +00:00
abicheck.sh Commit a patch by Behdad to fix typos, omissions and other errors in the 2006-09-10 06:39:16 +00:00
COPYING
gdk.c Remove unnecessary NULL checks before g_free(). (#369666, Morten Welinder, 2007-03-09 21:57:37 +00:00
gdk.h Remove redundant declarations (#390097, Christian Persch) 2006-12-28 04:19:49 +00:00
gdk.symbols Add gdk_event_request_motions 2007-02-07 20:33:46 +00:00
gdkcairo.c Bug #330022 Wrong pixel values are computed when color = 0xFF and alpha = 2006-02-05 20:34:43 +00:00
gdkcairo.h Add gdk_cairo_set_source_pixmap. (#318805, Alexander Larsson) 2005-12-30 07:16:35 +00:00
gdkcolor.c Fix a typo 2006-12-29 18:43:40 +00:00
gdkcolor.h Add a function for converting a GdkColor to a string (#373856). 2006-12-21 12:34:41 +00:00
gdkconfig.h.win32
gdkcursor.c Intern type names before registering the type to avoid unnecessary copies. 2005-08-31 15:14:26 +00:00
gdkcursor.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkdisplay.c Improve docs. (#353438, Mariano Suárez-Alvarez) 2006-12-21 16:25:01 +00:00
gdkdisplay.h Support input shapes: (#331070) 2006-02-20 01:36:50 +00:00
gdkdisplaymanager.c Remove extraneous ; 2006-05-14 03:58:06 +00:00
gdkdisplaymanager.h
gdkdnd.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkdnd.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkdraw.c Remove extraneous ; 2006-05-14 03:58:06 +00:00
gdkdrawable.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkevents.c Remove unnecessary NULL checks before g_free(). (#369666, Morten Welinder, 2007-03-09 21:57:37 +00:00
gdkevents.h call gdk_event_request_motions() for new motion events after receiving 2007-02-06 14:53:35 +00:00
gdkfont.c Intern type names before registering the type to avoid unnecessary copies. 2005-08-31 15:14:26 +00:00
gdkfont.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkgc.c Cleanups 2006-10-08 05:32:07 +00:00
gdkgc.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkglobals.c Commit a patch by Behdad to fix typos, omissions and other errors in the 2006-09-10 06:39:16 +00:00
gdki18n.h
gdkimage.c connect to the display's "closed" signal and free the cached scratch 2006-01-12 13:50:51 +00:00
gdkimage.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkinput.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkinternals.h Rollback the following changes, to fix it the proper way in Pango: 2006-05-22 17:08:13 +00:00
gdkintl.h Make the GdkScreen font options api public, and add properties 2005-08-26 18:49:52 +00:00
gdkkeynames.c gdk_key is a typedef, not a struct tag. 2005-03-17 12:05:16 +00:00
gdkkeys.c Remove extraneous ; 2006-05-14 03:58:06 +00:00
gdkkeys.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +00:00
gdkkeysyms-update.pl Regenerated from Xorg 7.1 keysyms.h, using gdkkeysyms-update.pl. 2006-05-11 17:15:40 +00:00
gdkkeysyms.h Regenerated from Xorg 7.1 keysyms.h, using gdkkeysyms-update.pl. 2006-05-11 17:15:40 +00:00
gdkkeyuni.c Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkmarshalers.list
gdkpango.c Use PANGO_PIXELS instead of division. (#334617) 2007-02-16 22:12:42 +00:00
gdkpango.h Bug 355343. Add a GdkPangoAttrEmbossColor. 2006-09-19 16:37:41 +00:00
gdkpixbuf-drawable.c New function to avoid pointless strdups when creating atoms from static 2005-09-11 05:39:45 +00:00
gdkpixbuf-render.c Another doc update 2005-12-20 05:35:15 +00:00
gdkpixbuf.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkpixmap.c Don't use G_DEFINE_TYPE, since the instance struct name does not match the 2006-05-31 03:34:04 +00:00
gdkpixmap.h New function to allow wrapping a native pixmap without a server roundtrip. 2006-03-30 04:08:51 +00:00
gdkpoly-generic.h
gdkpolyreg-generic.c Inline docs, use g_assert(), avoid extra allocation for rectangular 2005-12-24 07:29:00 +00:00
gdkprivate.h Avoid overflow when converting coordinates to Pango units. (#332266, Jody 2007-01-05 06:16:32 +00:00
gdkproperty.h New function to avoid pointless strdups when creating atoms from static 2005-09-11 05:39:45 +00:00
gdkrectangle.c Note in docs that @dest can be the same as @src1 or @src2. (#343233, 2006-05-28 20:24:43 +00:00
gdkregion-generic.c Cleanups 2006-10-08 05:32:07 +00:00
gdkregion-generic.h Inline docs, use g_assert(), avoid extra allocation for rectangular 2005-12-24 07:29:00 +00:00
gdkregion.h Inline docs, use g_assert(), avoid extra allocation for rectangular 2005-12-24 07:29:00 +00:00
gdkrgb.c Remove unnecessary NULL checks before g_free(). (#369666, Morten Welinder, 2007-03-09 21:57:37 +00:00
gdkrgb.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +00:00
gdkscreen.c Rollback the following changes, to fix it the proper way in Pango: 2006-05-22 17:08:13 +00:00
gdkscreen.h Create 'composited' label. 2006-04-25 14:27:32 +00:00
gdkselection.c Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkselection.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkspawn.h
gdktypes.h Don't use GDK_ALT_MASK. 2005-09-06 19:25:47 +00:00
gdkvisual.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkvisual.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkwindow.c Remove unnecessary NULL checks before g_free(). (#369666, Morten Welinder, 2007-03-09 21:57:37 +00:00
gdkwindow.h Add a function to beep on a window. For X11, implement this with XkbBell. 2006-08-30 03:30:43 +00:00
gen-keyname-table.pl Generate N_() calls for translatable key names. 2005-06-10 06:41:04 +00:00
keyname-table.h Mark arrow keys as translatable 2006-12-21 05:11:00 +00:00
keynames.txt Mark arrow keys as translatable 2006-12-21 05:11:00 +00:00
makeenums.pl
Makefile.am gdk/Makefile.am gdk-pixbuf/Makefile.am Further fixes for building on Win32 2007-03-06 09:52:35 +00:00
makefile.msc also recurse into win32 for ::clean create gtkbuiltincache.h (most code to 2006-01-05 23:55:08 +00:00
makegdkalias.pl Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
pltcheck.sh Commit a patch by Behdad to fix typos, omissions and other errors in the 2006-09-10 06:39:16 +00:00
testgdk.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00