[vte] draw: Move public define to the only file where it is used



commit 4c58cac26a89a6b3f85b07c8d4c831b003f43a7a
Author: Christian Persch <chpe src gnome org>
Date:   Mon Jun 1 22:48:43 2020 +0200

    draw: Move public define to the only file where it is used

 src/vtedraw.cc | 4 ++++
 src/vtedraw.hh | 4 ----
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/vtedraw.cc b/src/vtedraw.cc
index 50378dd4..99dda6ac 100644
--- a/src/vtedraw.cc
+++ b/src/vtedraw.cc
@@ -39,6 +39,10 @@
 #include "fonts-pangocairo.hh"
 #include "refptr.hh"
 
+#define VTE_DRAW_NORMAL 0
+#define VTE_DRAW_BOLD   1
+#define VTE_DRAW_ITALIC 2
+
 /* cairo_show_glyphs accepts runs up to 102 glyphs before it allocates a
  * temporary array.
  *
diff --git a/src/vtedraw.hh b/src/vtedraw.hh
index ac08935f..724c0bac 100644
--- a/src/vtedraw.hh
+++ b/src/vtedraw.hh
@@ -30,10 +30,6 @@
 
 #include "minifont.hh"
 
-#define VTE_DRAW_NORMAL 0
-#define VTE_DRAW_BOLD   1
-#define VTE_DRAW_ITALIC 2
-
 namespace vte {
 namespace view {
 


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