diff options
author | Timm Bäder <mail@baedert.org> | 2017-12-04 12:42:52 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2017-12-04 12:42:52 +0100 |
commit | 93df23d9628efe20ea50fab0eb044f6e6e52e486 (patch) | |
tree | 2e1db15d6ab0e64fe4b2effc2c18b3a9a27745b3 /gtk/gtkframe.c | |
parent | 1ed364a00067c76b5b0e581d82ab9597f28bbe62 (diff) | |
download | gtk+-93df23d9628efe20ea50fab0eb044f6e6e52e486.tar.gz |
Remove some more gtk_widget_get_content_size uses
Diffstat (limited to 'gtk/gtkframe.c')
-rw-r--r-- | gtk/gtkframe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c index 455654b623..4d824ade29 100644 --- a/gtk/gtkframe.c +++ b/gtk/gtkframe.c @@ -683,7 +683,8 @@ gtk_frame_real_compute_child_allocation (GtkFrame *frame, int frame_width, frame_height; gint height; - gtk_widget_get_content_size (GTK_WIDGET (frame), &frame_width, &frame_height); + frame_width = gtk_widget_get_width (GTK_WIDGET (frame)); + frame_height = gtk_widget_get_height (GTK_WIDGET (frame)); if (priv->label_widget) { |