gtk+ r17052 - in trunk: . gtk



Author: matthiasc
Date: 2007-01-04 05:58:32 +0000 (Thu, 04 Jan 2007)
New Revision: 17052
ViewCVS link: http://svn.gnome.org/viewcvs/gtk+?rev=17052&view=rev

Modified:
   trunk/ChangeLog
   trunk/gtk/gtklabel.c
Log:
2007-01-03  Matthias Clasen  <mclasen redhat com>

        Fix #332604, reported by Joe Wreschnig, patch
        by Jan Arne Petersen and Behdad Esfahbod.

        * gtk/gtklabel.c (gtk_label_size_allocate): Only
        set the width of the layout when necessary.
        (get_layout_location): Use pango_layout_get_pixel_extents()
        instead of pango_layout_get_width().







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]