[eog] EogScrollView: Use the correct enum to initialize the multitouch rotate state
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] EogScrollView: Use the correct enum to initialize the multitouch rotate state
- Date: Sun, 6 May 2018 10:37:30 +0000 (UTC)
commit dd1fb02654e803c96ad80ee9136207f4fe1c4e90
Author: Felix Riemann <friemann gnome org>
Date: Sun May 6 12:35:25 2018 +0200
EogScrollView: Use the correct enum to initialize the multitouch rotate state
While EOG_TRANSFORM_NONE has the same value (0) it's technically a different
type which could cause compiler warnings (e.g. with Clang).
src/eog-scroll-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/eog-scroll-view.c b/src/eog-scroll-view.c
index d205dcf..6e93120 100644
--- a/src/eog-scroll-view.c
+++ b/src/eog-scroll-view.c
@@ -1491,7 +1491,7 @@ rotate_gesture_begin_cb (GtkGesture *gesture,
EogScrollViewPrivate *priv;
priv = view->priv;
- priv->rotate_state = EOG_TRANSFORM_NONE;
+ priv->rotate_state = EOG_ROTATION_0;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]