File: 0003-Fix-variable-of-type-PangoAlignment-expected-instead.patch

package info (click to toggle)
grisbi 1.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 22,604 kB
  • ctags: 6,257
  • sloc: ansic: 117,322; sh: 11,246; makefile: 785; perl: 370; xml: 11
file content (23 lines) | stat: -rw-r--r-- 848 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Stephane Glondu <steph@glondu.net>
Date: Tue, 8 Apr 2014 00:57:55 +0200
Subject: Fix variable of type PangoAlignment expected instead of gfloat

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688453
---
 src/print_transactions_list.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/print_transactions_list.c b/src/print_transactions_list.c
index 820be53..8fef497 100644
--- a/src/print_transactions_list.c
+++ b/src/print_transactions_list.c
@@ -896,7 +896,7 @@ static gint print_transactions_list_draw_row ( GtkPrintContext *context,
 					      gint line_position )
 {
     gint column;
-    gfloat alignment[] = {
+    PangoAlignment alignment[] = {
 	PANGO_ALIGN_CENTER, PANGO_ALIGN_CENTER, PANGO_ALIGN_LEFT,
 	PANGO_ALIGN_CENTER, PANGO_ALIGN_RIGHT, PANGO_ALIGN_RIGHT, PANGO_ALIGN_RIGHT
     };
--