gtk2/gdk
Michael Natterer 8bdc0bf97c Applied patch from maemo-gtk that addresses many issues wrt display
2005-11-10  Michael Natterer  <mitch@imendio.com>

	Applied patch from maemo-gtk that addresses many issues wrt
	display migration and display closing (bug #85715).

	* gdk/gdkdisplay.c (gdk_display_dispose): don't just set the
	default display to NULL when it's closed. Instead set the most
	recently opened display as new default (if one exists).

	* gdk/gdkpango.c (on_renderer_display_closed): fixed signature
	of this callback.

	* gdk/gdkscreen.c (gdk_screen_dispose): check if the GCs still
	exist before unrefing them.

	* gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): if the screen
	is closed, allow destruction of the root window.

	* gdk/x11/gdkdisplay-x11.c: moved some stuff from finalize() to
	dispose(), free stuff that was leaked before.

	* gdk/x11/gdkevents-x11.c (_gdk_x11_events_uninit_screen): check if
	the xsettings_client still exists before destroying it.

	* gdk/x11/gdkkeys-x11.c: added finalization and free the allocated
	X resources.

	* gdk/x11/gdkpixmap-x11.c: moved stuff from finalize() to new
	dispose() implementation.

	* gdk/x11/gdkscreen-x11.c: moved stuff from finalize() to
	dispose() and check if it still exists before unrefing it. Set
	their pointers to NULL/None *after* upchaining in dispose(),
	because X11 implementations of members of the parent class still
	need them for their own destruction.

	* gdk/x11/gdkvisual-x11.c: removed finalize() implementation which
	was g_error()ing when finalizing a visual.

	* gtk/gtkclipboard.c (gtk_clipboard_finalize): don't use
	get_clipboard_widget() because it would create the widget if it
	doesn't exist. Use g_object_get_data() directly instead.

	* gtk/gtktextdisplay.c (on_renderer_display_closed): fixed signature
	of this callback.
2005-11-10 12:09:42 +00:00
..
linux-fb Handle pixmap == NULL when checking for a colormap. (Allin Cottrell). 2005-08-15 12:35:04 +00:00
win32 gdk/gdkinternals.h Add new GDK_DEBUG_DRAW flag to the GdkDebugFlag enum. 2005-11-09 13:10:27 +00:00
x11 Applied patch from maemo-gtk that addresses many issues wrt display 2005-11-10 12:09:42 +00:00
.cvsignore Shut up CVS 2005-03-16 04:36:05 +00:00
abicheck.sh Tighten up ABI checking a bit 2005-08-07 13:46:06 +00:00
COPYING [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
gdk.c gdk/gdkinternals.h Add new GDK_DEBUG_DRAW flag to the GdkDebugFlag enum. 2005-11-09 13:10:27 +00:00
gdk.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +00:00
gdk.symbols gdk/gdk.symbols gdk/gdkwindow.h added gdk_window_get_type_hint() (patch 2005-11-08 14:45:32 +00:00
gdkcairo.c Fix the big endian case for 3-channel source. (Reported by David Zeuthen) 2005-06-23 13:49:06 +00:00
gdkcairo.h Use a GtkAlignment rather than a GtkDrawingArea to draw the swatch in to 2005-05-11 19:16:19 +00:00
gdkcolor.c Intern type names before registering the type to avoid unnecessary copies. 2005-08-31 15:14:26 +00:00
gdkcolor.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkconfig.h.win32 Massive changes. Too many to list here, but I'll try a summary: 2002-02-17 00:25:05 +00:00
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 Applied patch from maemo-gtk that addresses many issues wrt display 2005-11-10 12:09:42 +00:00
gdkdisplay.h Remove the accidentally added prototype for this unimplemented 2005-01-23 04:26:41 +00:00
gdkdisplaymanager.c Intern some more strings. 2005-09-01 05:11:46 +00:00
gdkdisplaymanager.h Renames: 2002-06-20 23:59:27 +00:00
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 Intern type names before registering the type to avoid unnecessary copies. 2005-08-31 15:14:26 +00:00
gdkdrawable.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkevents.c Intern type names before registering the type to avoid unnecessary copies. 2005-08-31 15:14:26 +00:00
gdkevents.h Make it possible to determine if a key event is for a modifier key: 2005-09-09 22:50:15 +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 Unref tile and stipple when finalizing a gc. (#320789, Nickolay V. 2005-11-08 21:46:34 +00:00
gdkgc.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkglobals.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdki18n.h Deprecate GtkPreviewType, GtkSignalRunType, GtkSideType, 2002-01-30 02:01:10 +00:00
gdkimage.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +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 gdk/gdkinternals.h Add new GDK_DEBUG_DRAW flag to the GdkDebugFlag enum. 2005-11-09 13:10:27 +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 Intern type names before registering the type to avoid unnecessary copies. 2005-08-31 15:14:26 +00:00
gdkkeys.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +00:00
gdkkeysyms.h Add dead_hook and dead_horn. 2004-11-29 13:57:53 +00:00
gdkkeyuni.c Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkmarshalers.list New demo for window migration between different displays and screens. 2002-08-01 23:43:13 +00:00
gdkpango.c Applied patch from maemo-gtk that addresses many issues wrt display 2005-11-10 12:09:42 +00:00
gdkpango.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +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 Small formatting fixes in doc comments. 2005-07-18 19:48:52 +00:00
gdkpixbuf.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkpixmap.c Intern type names before registering the type to avoid unnecessary copies. 2005-08-31 15:14:26 +00:00
gdkpixmap.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkpoly-generic.h Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkpolyreg-generic.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkprivate.h Make gdkx.h the only installed header from gdk/x11. All structures in 2001-09-07 21:50:20 +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 Intern type names before registering the type to avoid unnecessary copies. 2005-08-31 15:14:26 +00:00
gdkregion-generic.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkregion-generic.h (Part 2) Remove gdk_*_lookup() defines, since they are defined by the 2000-07-24 16:19:00 +00:00
gdkregion.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkrgb.c Fix up selection of conversion functions for MSB machines: 2005-06-24 15:06:29 +00:00
gdkrgb.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +00:00
gdkscreen.c Applied patch from maemo-gtk that addresses many issues wrt display 2005-11-10 12:09:42 +00:00
gdkscreen.h Make the GdkScreen font options api public, and add properties 2005-08-26 18:49:52 +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 Utility functions for multi-screen applications which need to ensure 2003-12-10 13:49:58 +00:00
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 Applied patch from maemo-gtk that addresses many issues wrt display 2005-11-10 12:09:42 +00:00
gdkwindow.h gdk/gdk.symbols gdk/gdkwindow.h added gdk_window_get_type_hint() (patch 2005-11-08 14:45:32 +00:00
gen-keyname-table.pl Generate N_() calls for translatable key names. 2005-06-10 06:41:04 +00:00
keyname-table.h Generate N_() calls for translatable key names. 2005-06-10 06:41:04 +00:00
keynames.txt Generate N_() calls for translatable key names. 2005-06-10 06:41:04 +00:00
makeenums.pl Add GdkEventSetting event for notification of changes to system settings, 2001-04-02 23:33:47 +00:00
Makefile.am use $(GLIB_MKENUMS) instead of glib-mkenums. (#318582, Damien Carbery) 2005-10-26 18:01:05 +00:00
makefile.msc fix typo for GTK_VER; define HAVE_CONFIG_H cause gtkprogressbar.c has 2005-09-18 12:28:42 +00:00
makegdkalias.pl Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
testgdk.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00