• Havoc Pennington's avatar
    fix a typo. · f37a0627
    Havoc Pennington authored
    2001-08-07  Havoc Pennington  <hp@pobox.com>
    
    	* gtk/gtkfilesel.c (open_ref_dir): fix a typo.
    
    	* gtk/gtkplug.c (gtk_plug_init): remove setting of auto_shrink;
    	some fixage is needed here, but nothing simple. Owen understands
    	it. ;-)
    
            * gtk/gtkwindow.h, gtk/gtkwindow.c: Rework code and API for window
    	sizing and positioning.  Also, fix bug in compute_geometry_hints
    	(width/height confusion for setting min size).
    	(gtk_window_move): new function
    	(gtk_window_resize): new function
    	(gtk_window_get_size): new function
    	(gtk_window_get_position): new function
    	(gtk_window_parse_geometry): new function
    
     	* gtk/gtkwidget.c (gtk_widget_set_size_request): new function
     	(gtk_widget_get_size_request): new function
     	(gtk_widget_get_usize): delete, that was a short-lived function
     	;-)
     	(gtk_widget_set_usize): deprecate
     	(gtk_widget_set_uposition): deprecate, make it a trivial
    	gtk_window_move() wrapper
    	(gtk_widget_class_init): remove x/y/width/height properties,
    	add width_request height_request
    
            * demos/*: update to avoid deprecated functions
    
    	* gtk/gtklayout.c: add x/y child properties
    
    	* gtk/gtkfixed.c: add x/y child properties, and get rid of
    	uses of "gint16"
    
    	* tests/testgtk.c (create_window_sizing): lots of tweaks to window
    	sizing test
    
    	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Ensure that
    	configure events on toplevel windows are always in root window
    	coordinates, following ICCCM spec that all synthetic events
    	are in root window coords already, while real events are
    	in parent window coords. Previously the code assumed that
    	coords of 0,0 were parent window coords, which was
    	really broken.
    
     	* gtk/gtkcontainer.c (gtk_container_get_focus_chain): fix
     	warning
    
     	* gdk/gdkwindow.h (GdkWindowHints): add GDK_HINT_USER_POS
     	and GDK_HINT_USER_SIZE so we can set USSize and USPosition
     	hints in gtk_window_parse_geometry()
    
     	* gdk/x11/gdkwindow-x11.c (gdk_window_set_geometry_hints): support
     	new USER_POS USER_SIZE hints
    f37a0627
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...
po 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.nanox Loading commit data...
README.win32 Loading commit data...
TODO Loading commit data...
TODO.xml Loading commit data...
acconfig.h Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
config.guess Loading commit data...
config.h.win32.in Loading commit data...
config.sub 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...
makecopyright Loading commit data...
sanity_check Loading commit data...