diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-03-29 23:02:30 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-03-29 23:02:30 +0000 |
commit | f67ae736ee9a21ffc8f190ded724543bf66e1316 (patch) | |
tree | 859a57b41aac3646cb42b768f2cc32561fb219ce /gtk/gtkwidget.h | |
parent | f19af6f49ca75f667523b1b89ea873584fb7e7b5 (diff) | |
download | gtk+-f67ae736ee9a21ffc8f190ded724543bf66e1316.tar.gz |
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
Diffstat (limited to 'gtk/gtkwidget.h')
-rw-r--r-- | gtk/gtkwidget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index 9e37df24f9..88e776692a 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -394,6 +394,8 @@ struct _GtkWidgetAuxInfo gint y; gint width; gint height; + guint x_set : 1; + guint y_set : 1; }; struct _GtkWidgetShapeInfo @@ -679,6 +681,8 @@ void gtk_widget_class_path (GtkWidget *widget, # define gtk_widget_unref gtk_object_unref #endif /* GTK_TRACE_OBJECTS && __GNUC__ */ +GtkWidgetAuxInfo *_gtk_widget_get_aux_info (GtkWidget *widget, + gboolean create); #ifdef __cplusplus } |