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 @@
1--- gtk+-2.6.7/gtk/gtklabel.c~ 2006-05-25 15:35:15.000000000 +0100
2+++ gtk+-2.6.7/gtk/gtklabel.c 2006-05-30 11:40:37.000000000 +0100
3@@ -2185,8 +2185,8 @@
4 req_width - misc->xpad);
5
6 y = floor (widget->allocation.y + (gint)misc->ypad
7- + MAX (((widget->allocation.height - widget->requisition.height) * misc->yalign)
8- + 0.5, 0));
9+ + ((widget->allocation.height - widget->requisition.height) * misc->yalign)
10+ + 0.5);
11
12 if (xp)
13 *xp = x;