[gtk/gtk-3-22] colorutils: Remove unused macro



commit 5a0759bc1bef956688942b48648f323cdc7d3eec
Author: Benjamin Otte <otte redhat com>
Date:   Tue Mar 27 02:40:17 2018 +0200

    colorutils: Remove unused macro

 gtk/gtkcolorutils.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/gtk/gtkcolorutils.c b/gtk/gtkcolorutils.c
index 94843bd44b..958cd96ce6 100644
--- a/gtk/gtkcolorutils.c
+++ b/gtk/gtkcolorutils.c
@@ -34,9 +34,6 @@
 
 #include "gtkcolorutils.h"
 
-
-#define INTENSITY(r, g, b) ((r) * 0.30 + (g) * 0.59 + (b) * 0.11)
-
 /* Converts from HSV to RGB */
 static void
 hsv_to_rgb (gdouble *h,


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