[gnumeric] Compilation: kill warning
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Compilation: kill warning
- Date: Sat, 8 Mar 2014 00:52:12 +0000 (UTC)
commit 6140ea990a0aa542170c157f5b1492e6d9378d66
Author: Morten Welinder <terra gnome org>
Date: Fri Mar 7 19:51:42 2014 -0500
Compilation: kill warning
ChangeLog | 4 ++++
src/wbc-gtk.c | 1 -
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 7aefad0..4c60018 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-03-07 Morten Welinder <terra gnome org>
+
+ * src/wbc-gtk.c (cb_adjust_foreground_attributes): Fix warning.
+
2014-03-05 Morten Welinder <terra gnome org>
* src/expr.c (gnm_expr_top_is_volatile): New function.
diff --git a/src/wbc-gtk.c b/src/wbc-gtk.c
index c336ec0..e9899fe 100644
--- a/src/wbc-gtk.c
+++ b/src/wbc-gtk.c
@@ -1371,7 +1371,6 @@ cb_adjust_foreground_attributes (PangoAttribute *attribute,
static const GdkRGBA black = { 0, 0, 0, 1 };
static const GdkRGBA white = { 1, 1, 1, 1 };
double back_norm = color_diff (back, &black);
- double fore_norm = color_diff (back, &black);
double f = 0.2;
const GdkRGBA *ref =
back_norm > 0.75 ? &black : &white;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]