• Michael Natterer's avatar
    Applied patch from maemo-gtk that addresses many issues wrt display · 8bdc0bf9
    Michael Natterer authored
    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.
    8bdc0bf9
Name
Last commit
Last update
contrib Loading commit data...
debian Loading commit data...
demos Loading commit data...
docs Loading commit data...
examples Loading commit data...
gdk Loading commit data...
gdk-pixbuf Loading commit data...
gtk Loading commit data...
m4macros Loading commit data...
modules Loading commit data...
perf Loading commit data...
po Loading commit data...
po-properties Loading commit data...
tests Loading commit data...
.cvsignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
ChangeLog.pre-1-0 Loading commit data...
ChangeLog.pre-1-2 Loading commit data...
ChangeLog.pre-2-0 Loading commit data...
ChangeLog.pre-2-10 Loading commit data...
ChangeLog.pre-2-2 Loading commit data...
ChangeLog.pre-2-4 Loading commit data...
ChangeLog.pre-2-6 Loading commit data...
ChangeLog.pre-2-8 Loading commit data...
HACKING Loading commit data...
INSTALL Loading commit data...
INSTALL.in Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
NEWS.pre-1-0 Loading commit data...
README Loading commit data...
README.cvs-commits Loading commit data...
README.in Loading commit data...
README.win32 Loading commit data...
acconfig.h Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
config.h.win32.in Loading commit data...
configure.in Loading commit data...
gdk-2.0-uninstalled.pc.in Loading commit data...
gdk-2.0.pc.in Loading commit data...
gdk-pixbuf-2.0-uninstalled.pc.in Loading commit data...
gdk-pixbuf-2.0.pc.in Loading commit data...
gtk+-2.0-uninstalled.pc.in Loading commit data...
gtk+-2.0.pc.in Loading commit data...
gtk+.spec.in Loading commit data...
gtk-config-2.0.in Loading commit data...
gtk-zip.sh.in Loading commit data...
makecopyright Loading commit data...
makefile.msc Loading commit data...
sanitize-la.sh Loading commit data...
sanity_check Loading commit data...