diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index dec40df..5a01123 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -3943,7 +3943,9 @@ gtk_label_get_layout_offsets (GtkLabel *label,
                               gint     *y)
 {
   g_return_if_fail (GTK_IS_LABEL (label));
-  
+
+  gtk_label_ensure_layout (label);
+
   get_layout_location (label, x, y);
 }
 
