* openembedded/packages/gtk+: added gtklabel-center.patch

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@452 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Tomas Frydrych
2006-05-30 11:26:19 +00:00
parent 59a49d9ca4
commit b200c92f15
2 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
--- gtk+-2.6.7/gtk/gtklabel.c~ 2006-05-25 15:35:15.000000000 +0100
+++ gtk+-2.6.7/gtk/gtklabel.c 2006-05-30 11:40:37.000000000 +0100
@@ -2185,8 +2185,8 @@
req_width - misc->xpad);
y = floor (widget->allocation.y + (gint)misc->ypad
- + MAX (((widget->allocation.height - widget->requisition.height) * misc->yalign)
- + 0.5, 0));
+ + ((widget->allocation.height - widget->requisition.height) * misc->yalign)
+ + 0.5);
if (xp)
*xp = x;

View File

@@ -5,7 +5,7 @@ HOMEPAGE = "http://www.gtk.org"
SECTION = "libs"
PRIORITY = "optional"
DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor gtk-doc libgcrypt"
PR = "r4"
PR = "r5"
SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.6/gtk+-${PV}.tar.bz2 \
file://no-demos.patch;patch=1 \
@@ -15,6 +15,7 @@ SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.6/gtk+-${PV}.tar.bz2 \
file://hardcoded_libtool.patch;patch=1 \
file://disable-tooltips.patch;patch=1 \
file://gtklabel-resize-patch;patch=1 \
file://gtklabel-center.patch;patch=1 \
file://menu-deactivate.patch;patch=1 \
file://scroll-timings.patch;patch=1 \
file://small-gtkfilesel.patch;patch=1 \