]> Pileus Git - ~andy/gtk/commitdiff
Bug 530255 – GtkAboutDialog cuts off comments label Followup patch from
authorBehdad Esfahbod <behdad@gnome.org>
Sun, 29 Jun 2008 17:17:09 +0000 (17:17 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Sun, 29 Jun 2008 17:17:09 +0000 (17:17 +0000)
2008-06-29  Behdad Esfahbod  <behdad@gnome.org>

        Bug 530255 – GtkAboutDialog cuts off comments label
        Followup patch from  Jan Arne Petersen

        * gtk/gtklabel.c (gtk_label_get_layout_offsets): Ensure layout.

svn path=/trunk/; revision=20703

ChangeLog
gtk/gtklabel.c

index 794b61ecbcf138636511f5fb0227effb1cd5024d..775d7cc5849d73e6bcfb2fd74b3c9f30bfd0aacb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-06-29  Behdad Esfahbod  <behdad@gnome.org>
+
+       Bug 530255 – GtkAboutDialog cuts off comments label
+       Followup patch from  Jan Arne Petersen
+
+       * gtk/gtklabel.c (gtk_label_get_layout_offsets): Ensure layout.
+
 2008-06-28  Michael Natterer  <mitch@imendio.com>
 
        * gtk/gtkselection.h: properly indent the newly added
index 667c56d358e914b3b43c76bf5c7337eb9544aabe..6d51ab1b5b115164ecd855e9e1f46e1cdf04c866 100644 (file)
@@ -3941,7 +3941,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);
 }