GNOME Bugzilla – Bug 540748
gtk_label_get_layout_offsets doesn't call gtk_label_ensure_layout
Last modified: 2008-06-29 12:57:13 UTC
When you call gtk_label_get_layout_offsets before label->layout has been set up properly, it dies with an assertion. The attached patch simply calls gtk_label_ensure_layout before calling get_layout_location to avoid this.
Created attachment 113607 [details] [review] Call gtk_label_ensure_layout before calling get_layout_location
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 530255 ***