summaryrefslogtreecommitdiff
path: root/gtk/gtkframe.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-12-04 12:42:52 +0100
committerTimm Bäder <mail@baedert.org>2017-12-04 12:42:52 +0100
commit93df23d9628efe20ea50fab0eb044f6e6e52e486 (patch)
tree2e1db15d6ab0e64fe4b2effc2c18b3a9a27745b3 /gtk/gtkframe.c
parent1ed364a00067c76b5b0e581d82ab9597f28bbe62 (diff)
downloadgtk+-93df23d9628efe20ea50fab0eb044f6e6e52e486.tar.gz
Remove some more gtk_widget_get_content_size uses
Diffstat (limited to 'gtk/gtkframe.c')
-rw-r--r--gtk/gtkframe.c3
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)
{