summaryrefslogtreecommitdiffstats
path: root/meta/packages/gtk+/gtk+-2.6.7/gtklabel-center.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gtk+/gtk+-2.6.7/gtklabel-center.patch')
-rw-r--r--meta/packages/gtk+/gtk+-2.6.7/gtklabel-center.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/packages/gtk+/gtk+-2.6.7/gtklabel-center.patch b/meta/packages/gtk+/gtk+-2.6.7/gtklabel-center.patch
new file mode 100644
index 0000000000..b368cb4b7c
--- /dev/null
+++ b/meta/packages/gtk+/gtk+-2.6.7/gtklabel-center.patch
@@ -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;