Update to gthumb-3.12.2.

This commit is contained in:
ajacoutot 2022-04-13 05:56:08 +00:00
parent 45e485819e
commit b75b23ec16
3 changed files with 20 additions and 3 deletions

View File

@ -1,7 +1,7 @@
COMMENT= image viewer and browser for GNOME
GNOME_PROJECT= gthumb
GNOME_VERSION= 3.12.1
GNOME_VERSION= 3.12.2
CATEGORIES= graphics

View File

@ -1,2 +1,2 @@
SHA256 (gthumb-3.12.1.tar.xz) = ZDBmOgAHBpbGgeXru4AQc/1GpG1oEsKeL5pPgRr6Gfw=
SIZE (gthumb-3.12.1.tar.xz) = 7585356
SHA256 (gthumb-3.12.2.tar.xz) = l/iv5SJTUhZUHrvx47VG0Spr6zio8OuF8m5naTSq1CU=
SIZE (gthumb-3.12.2.tar.xz) = 7585700

View File

@ -0,0 +1,17 @@
../gthumb-3.12.2/gthumb/gth-browser.c:2460:7: warning:
using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
Index: gthumb/gth-browser.c
--- gthumb/gth-browser.c.orig
+++ gthumb/gth-browser.c
@@ -2457,8 +2457,8 @@ viewer_motion_notify_event_cb (GtkWidget *widget,
if (browser->priv->last_mouse_y == 0.0)
browser->priv->last_mouse_y = event->y;
- if ((abs (browser->priv->last_mouse_x - event->x) > MOTION_THRESHOLD)
- || (abs (browser->priv->last_mouse_y - event->y) > MOTION_THRESHOLD))
+ if ((fabs (browser->priv->last_mouse_x - event->x) > MOTION_THRESHOLD)
+ || (fabs (browser->priv->last_mouse_y - event->y) > MOTION_THRESHOLD))
{
if (! browser->priv->pointer_visible) {
browser->priv->pointer_visible = TRUE;