]> Pileus Git - ~andy/gtk/commit
Add private function to get the aux info structure fo the widget.
authorOwen Taylor <otaylor@redhat.com>
Thu, 29 Mar 2001 23:02:30 +0000 (23:02 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Thu, 29 Mar 2001 23:02:30 +0000 (23:02 +0000)
commitf67ae736ee9a21ffc8f190ded724543bf66e1316
tree859a57b41aac3646cb42b768f2cc32561fb219ce
parentf19af6f49ca75f667523b1b89ea873584fb7e7b5
Add private function to get the aux info structure fo the widget.

Wed Mar 28 20:30:26 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.[ch] (_gtk_widget_get_aux_info): Add private function
to get the aux info structure fo the widget.

* gtk/gtklabel.c gtk/gtkscrolledwindow.c gtk/gtkwindow.c: Use
above function.

        [ Patch from  Havoc Pennington  <hp@redhat.com> ]

* gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): function
to get the size of the window manager frame, basically the same
code that gdk_window_get_root_origin() had
(gdk_window_get_root_origin): use gdk_window_get_frame_extents()

* gtk/gtkwindow.c (gtk_window_set_default_size): use
gdk_window_resize() if the window is realized and resizeable

* gdk/x11/gdkwindow-x11.c (gdk_window_set_geometry_hints): fix
typo so that setting gravity works

* gtk/gtkwindow.c (gtk_window_move_resize): don't ever use
allocation if auto_shrink is on, even if the default size
has not changed.

* gtk/gtkwidget.c (gtk_widget_render_icon): remove bogus
g_return_if_fail
18 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
docs/reference/gtk/tmpl/gtkwidget.sgml
gdk/gdkwindow.h
gdk/x11/gdkwindow-x11.c
gtk/gtklabel.c
gtk/gtkscrolledwindow.c
gtk/gtkwidget.c
gtk/gtkwidget.h
gtk/gtkwindow.c
gtk/gtkwindow.h
gtk/testgtk.c
tests/testgtk.c