[shotwell] Minor code reshuffling



commit ed6ad206362cca9c911ca6194d8aec4fa4976848
Author: Jens Georg <mail jensge org>
Date:   Sun Dec 2 20:12:13 2018 +0100

    Minor code reshuffling

 src/core/util.vala  | 4 ----
 src/util/image.vala | 3 +++
 2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/core/util.vala b/src/core/util.vala
index 95078951..d7b2d8f8 100644
--- a/src/core/util.vala
+++ b/src/core/util.vala
@@ -190,7 +190,3 @@ public bool null_progress_monitor(uint64 count, uint64 total) {
     return true;
 }
 
-
-double degrees_to_radians(double theta) {
-    return (theta * (GLib.Math.PI / 180.0));
-}
diff --git a/src/util/image.vala b/src/util/image.vala
index 0a303396..2133364f 100644
--- a/src/util/image.vala
+++ b/src/util/image.vala
@@ -422,3 +422,6 @@ Box clamp_inside_rotated_image(Box src, int img_w, int img_h, double angle_deg,
                                src.right + right_offset, src.bottom + bottom_offset);
 }
 
+double degrees_to_radians(double theta) {
+    return (theta * (GLib.Math.PI / 180.0));
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]