[evolution/gnome-3-36] I#923 - e-canvas-background.c: Limit boundary rectangle to fit 'int' type
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-36] I#923 - e-canvas-background.c: Limit boundary rectangle to fit 'int' type
- Date: Wed, 13 May 2020 08:27:50 +0000 (UTC)
commit 2b0b0fb70c7289b5655e32e3a6acf2e011430839
Author: Milan Crha <mcrha redhat com>
Date: Wed May 13 10:29:16 2020 +0200
I#923 - e-canvas-background.c: Limit boundary rectangle to fit 'int' type
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/923
src/e-util/e-canvas-background.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/e-util/e-canvas-background.c b/src/e-util/e-canvas-background.c
index b63d442afa..8acb6110a0 100644
--- a/src/e-util/e-canvas-background.c
+++ b/src/e-util/e-canvas-background.c
@@ -76,10 +76,10 @@ ecb_bounds (GnomeCanvasItem *item,
gdouble *x2,
gdouble *y2)
{
- *x1 = G_MININT;
- *y1 = G_MININT;
- *x2 = G_MAXINT;
- *y2 = G_MAXINT;
+ *x1 = 0;
+ *y1 = 0;
+ *x2 = G_MAXINT - 1;
+ *y2 = G_MAXINT - 1;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]