[virt-tools-list] [PATCH virt-viewer 2/4] window: Move definition from header

Pavel Grunt pgrunt at redhat.com
Wed Jun 22 06:17:45 UTC 2016


---
 src/virt-viewer-window.c | 2 ++
 src/virt-viewer-window.h | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/virt-viewer-window.c b/src/virt-viewer-window.c
index e03df65..60a1675 100644
--- a/src/virt-viewer-window.c
+++ b/src/virt-viewer-window.c
@@ -43,6 +43,8 @@
 #include "virt-viewer-util.h"
 #include "view/autoDrawer.h"
 
+#define ZOOM_STEP 10
+
 /* Signal handlers for main window (move in a VirtViewerMainWindow?) */
 void virt_viewer_window_menu_view_zoom_out(GtkWidget *menu, VirtViewerWindow *self);
 void virt_viewer_window_menu_view_zoom_in(GtkWidget *menu, VirtViewerWindow *self);
diff --git a/src/virt-viewer-window.h b/src/virt-viewer-window.h
index c25e9c9..e9aae4b 100644
--- a/src/virt-viewer-window.h
+++ b/src/virt-viewer-window.h
@@ -33,7 +33,6 @@ G_BEGIN_DECLS
 #define MIN_ZOOM_LEVEL 10
 #define MAX_ZOOM_LEVEL 400
 #define NORMAL_ZOOM_LEVEL 100
-#define ZOOM_STEP 10
 
 #define VIRT_VIEWER_TYPE_WINDOW virt_viewer_window_get_type()
 
-- 
2.9.0




More information about the virt-tools-list mailing list