[vte] draw: Move public define to the only file where it is used
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] draw: Move public define to the only file where it is used
- Date: Mon, 1 Jun 2020 20:51:07 +0000 (UTC)
commit af8058637005e1438ed0029b7328141e5f38a7ea
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/vte.cc | 2 ++
src/vtedraw.hh | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/vte.cc b/src/vte.cc
index 8850db03..36713482 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -89,6 +89,8 @@ static inline double round(double x) {
#define I_(string) (g_intern_static_string(string))
+#define VTE_DRAW_OPAQUE (1.0)
+
namespace vte {
namespace terminal {
diff --git a/src/vtedraw.hh b/src/vtedraw.hh
index f932488d..ac08935f 100644
--- a/src/vtedraw.hh
+++ b/src/vtedraw.hh
@@ -30,8 +30,6 @@
#include "minifont.hh"
-#define VTE_DRAW_OPAQUE (1.0)
-
#define VTE_DRAW_NORMAL 0
#define VTE_DRAW_BOLD 1
#define VTE_DRAW_ITALIC 2
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]