[epiphany] ephy-location-entry: GdkRGBA colors are doubles



commit 0205afea985c753c6400eba9634f679863d085c0
Author: Diego Escalante Urrelo <descalante igalia com>
Date:   Mon Jan 10 19:59:16 2011 -0500

    ephy-location-entry: GdkRGBA colors are doubles
    
    Bug #636501

 lib/widgets/ephy-location-entry.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index 3e78fa3..f7ea32e 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -89,8 +89,8 @@ static const GtkTargetEntry url_drag_types [] =
 	{ EPHY_DND_TEXT_TYPE,       0, 2 }
 };
 
-static const GdkRGBA fallback_bg_color = { 0, 0xf7f7, 0xf7f7, 0xbebe }; /* yellow-ish */
-static const GdkRGBA fallback_fg_color = { 0, 0, 0, 0 }; /* black */
+static const GdkRGBA fallback_bg_color = { 0.97, 0.97, 0.74, 1 }; /* yellow-ish */
+static const GdkRGBA fallback_fg_color = { 0, 0, 0, 1 }; /* black */
 
 static void ephy_location_entry_class_init (EphyLocationEntryClass *klass);
 static void ephy_location_entry_init (EphyLocationEntry *le);



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