]> code.ossystems Code Review - openembedded-core.git/commitdiff
* openembedded/packages/gtk+: added gtklabel-center.patch
authorTomas Frydrych <tf@openedhand.com>
Tue, 30 May 2006 11:26:19 +0000 (11:26 +0000)
committerTomas Frydrych <tf@openedhand.com>
Tue, 30 May 2006 11:26:19 +0000 (11:26 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@452 311d38ba-8fff-0310-9ca6-ca027cbcb966

openembedded/packages/gtk+/gtk+-2.6.7/gtklabel-center.patch [new file with mode: 0644]
openembedded/packages/gtk+/gtk+_2.6.7.bb

diff --git a/openembedded/packages/gtk+/gtk+-2.6.7/gtklabel-center.patch b/openembedded/packages/gtk+/gtk+-2.6.7/gtklabel-center.patch
new file mode 100644 (file)
index 0000000..b368cb4
--- /dev/null
@@ -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;
index b27607231003b431d82aae750014067b80e3b41b..080db44c021bd1abb295d087ae68d87868141cc9 100644 (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 \