[eog] EogScrollView: Make zoom factor defines internal again
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] EogScrollView: Make zoom factor defines internal again
- Date: Thu, 12 Mar 2015 18:28:35 +0000 (UTC)
commit 229f49c8f3a54fda9e22fdc11df55e3b4f9c6928
Author: Felix Riemann <friemann gnome org>
Date: Thu Mar 12 19:25:11 2015 +0100
EogScrollView: Make zoom factor defines internal again
These turned out to not be needed in a global context.
Avoids introspection warnings for these values.
src/eog-scroll-view.c | 10 ++++++++++
src/eog-scroll-view.h | 10 ----------
2 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/src/eog-scroll-view.c b/src/eog-scroll-view.c
index b2bb8c3..cbcf894 100644
--- a/src/eog-scroll-view.c
+++ b/src/eog-scroll-view.c
@@ -21,6 +21,16 @@
#endif
#include "zoom.h"
+/* Maximum zoom factor */
+#define MAX_ZOOM_FACTOR 20
+#define MIN_ZOOM_FACTOR 0.02
+
+/* Default increment for zooming. The current zoom factor is multiplied or
+ * divided by this amount on every zooming step. For consistency, you should
+ * use the same value elsewhere in the program.
+ */
+#define IMAGE_VIEW_ZOOM_MULTIPLIER 1.05
+
/* Maximum size of delayed repaint rectangles */
#define PAINT_RECT_WIDTH 128
#define PAINT_RECT_HEIGHT 128
diff --git a/src/eog-scroll-view.h b/src/eog-scroll-view.h
index 8d7e13e..2b3c1da 100644
--- a/src/eog-scroll-view.h
+++ b/src/eog-scroll-view.h
@@ -6,16 +6,6 @@
G_BEGIN_DECLS
-/* Maximum zoom factor */
-#define MAX_ZOOM_FACTOR 20
-#define MIN_ZOOM_FACTOR 0.02
-
-/* Default increment for zooming. The current zoom factor is multiplied or
- * divided by this amount on every zooming step. For consistency, you should
- * use the same value elsewhere in the program.
- */
-#define IMAGE_VIEW_ZOOM_MULTIPLIER 1.05
-
typedef struct _EogScrollView EogScrollView;
typedef struct _EogScrollViewClass EogScrollViewClass;
typedef struct _EogScrollViewPrivate EogScrollViewPrivate;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]