aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJody Goldberg <jody@gnome.org>2002-01-27 05:06:54 +0800
committerJody Goldberg <jody@src.gnome.org>2002-01-27 05:06:54 +0800
commit8df67e73f012204264933c4bb3b32a97af54acd3 (patch)
treeb306a0cfb20827d3a84dece2e68bf15ff0c8e8c3
parentdbd0723a4374fdf149cb0cf68de6a261764d6368 (diff)
downloadgsoc2013-evolution-8df67e73f012204264933c4bb3b32a97af54acd3.tar.gz
gsoc2013-evolution-8df67e73f012204264933c4bb3b32a97af54acd3.tar.zst
gsoc2013-evolution-8df67e73f012204264933c4bb3b32a97af54acd3.zip
make sure the colors are initialized.
2002-01-26 Jody Goldberg <jody@gnome.org> * gal/widgets/e-cursors.c (e_cursors_init) : make sure the colors are initialized. * gal/widgets/e-colors.c (e_color_init) : doh! svn path=/branches/gal-2/; revision=15482
-rw-r--r--widgets/misc/e-colors.c2
-rw-r--r--widgets/misc/e-cursors.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/widgets/misc/e-colors.c b/widgets/misc/e-colors.c
index 8fd2b08fc4..3cc86c8ce9 100644
--- a/widgets/misc/e-colors.c
+++ b/widgets/misc/e-colors.c
@@ -64,7 +64,7 @@ e_color_init (void)
static gboolean e_color_inited = FALSE;
/* It's surprisingly easy to end up calling this twice. Survive. */
- if (!e_color_inited)
+ if (e_color_inited)
return;
e_color_inited = TRUE;
diff --git a/widgets/misc/e-cursors.c b/widgets/misc/e-cursors.c
index 1b5a8a226e..e7fb31634a 100644
--- a/widgets/misc/e-cursors.c
+++ b/widgets/misc/e-cursors.c
@@ -93,6 +93,8 @@ e_cursors_init (void)
{
int i;
+ e_color_init ();
+
for (i = 0; cursors [i].hot_x; i++){
GdkBitmap *bitmap, *mask;