[gimp] Move the display render buf size #defines to gimpdisplayshell-render.h



commit 750c11f00182c448e05a59ca11ec4e91ac1a96b6
Author: Michael Natterer <mitch gimp org>
Date:   Sat Oct 3 00:15:04 2009 +0200

    Move the display render buf size #defines to gimpdisplayshell-render.h

 app/display/gimpdisplayshell-render.h |    4 ++++
 app/display/gimpdisplayshell.c        |    1 +
 app/display/gimpdisplayshell.h        |    4 ----
 3 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-render.h b/app/display/gimpdisplayshell-render.h
index 14c549c..d15a680 100644
--- a/app/display/gimpdisplayshell-render.h
+++ b/app/display/gimpdisplayshell-render.h
@@ -19,6 +19,10 @@
 #define __GIMP_DISPLAY_SHELL_RENDER_H__
 
 
+#define GIMP_DISPLAY_RENDER_BUF_WIDTH  256
+#define GIMP_DISPLAY_RENDER_BUF_HEIGHT 256
+
+
 void   gimp_display_shell_render_init (Gimp                   *gimp);
 void   gimp_display_shell_render_exit (Gimp                   *gimp);
 
diff --git a/app/display/gimpdisplayshell.c b/app/display/gimpdisplayshell.c
index b8704f4..f362a2e 100644
--- a/app/display/gimpdisplayshell.c
+++ b/app/display/gimpdisplayshell.c
@@ -67,6 +67,7 @@
 #include "gimpdisplayshell-filter.h"
 #include "gimpdisplayshell-handlers.h"
 #include "gimpdisplayshell-progress.h"
+#include "gimpdisplayshell-render.h"
 #include "gimpdisplayshell-scale.h"
 #include "gimpdisplayshell-scroll.h"
 #include "gimpdisplayshell-selection.h"
diff --git a/app/display/gimpdisplayshell.h b/app/display/gimpdisplayshell.h
index ba402bb..081b19a 100644
--- a/app/display/gimpdisplayshell.h
+++ b/app/display/gimpdisplayshell.h
@@ -40,10 +40,6 @@
 #define  FUNSCALEX(s,x)   ((x) / (s)->scale_x)
 #define  FUNSCALEY(s,y)   ((y) / (s)->scale_y)
 
-/*  the size of the display render buffer  */
-#define GIMP_DISPLAY_RENDER_BUF_WIDTH  256
-#define GIMP_DISPLAY_RENDER_BUF_HEIGHT 256
-
 
 #define GIMP_TYPE_DISPLAY_SHELL            (gimp_display_shell_get_type ())
 #define GIMP_DISPLAY_SHELL(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_DISPLAY_SHELL, GimpDisplayShell))



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