gtk+ r17053 - in branches/gtk-2-10: . gtk



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

Modified:
   branches/gtk-2-10/ChangeLog
   branches/gtk-2-10/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]