From 9fbaa4c42f2088e912e9cb5d4a453600f1863b55 Mon Sep 17 00:00:00 2001 From: Jody Goldberg Date: Sun, 17 Sep 2000 21:38:56 +0000 Subject: doh! 2000-09-17 Jody Goldberg * src/widgets/e-colors.c (e_color_init) : doh! * configure.in : Add a version. * src/Makefile.am (libgal_la_LIBADD) : Update the set of lo files. svn path=/trunk/; revision=5486 --- widgets/misc/e-colors.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'widgets') diff --git a/widgets/misc/e-colors.c b/widgets/misc/e-colors.c index 0a376262a4..4154b1bf3d 100644 --- a/widgets/misc/e-colors.c +++ b/widgets/misc/e-colors.c @@ -14,7 +14,7 @@ static gboolean e_color_inited; static GdkColorContext *e_color_context; -GdkColor gs_white, gs_dark_gray, gs_black; +GdkColor e_white, e_dark_gray, e_black; int e_color_alloc (gushort red, gushort green, gushort blue) @@ -66,10 +66,10 @@ e_color_init (void) e_color_context = gdk_color_context_new ( gtk_widget_get_default_visual (), colormap); - /* Allocate the default colors */ - gdk_color_white (colormap, &gs_white); - gdk_color_black (colormap, &gs_black); - e_color_alloc_name ("gray20", &gs_dark_gray); - e_color_inited = TRUE; + + /* Allocate the default colors */ + gdk_color_white (colormap, &e_white); + gdk_color_black (colormap, &e_black); + e_color_alloc_name ("gray20", &e_dark_gray); } -- cgit