[gnumeric] Compilation: post gtk3 cleanup.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Compilation: post gtk3 cleanup.
- Date: Fri, 5 Aug 2011 15:32:00 +0000 (UTC)
commit 536edd67efc792bd4681dfe631f4636990888fbc
Author: Morten Welinder <terra gnome org>
Date: Fri Aug 5 11:31:45 2011 -0400
Compilation: post gtk3 cleanup.
src/style-color.c | 24 ------------------------
1 files changed, 0 insertions(+), 24 deletions(-)
---
diff --git a/src/style-color.c b/src/style-color.c
index 004ee93..387a1fc 100644
--- a/src/style-color.c
+++ b/src/style-color.c
@@ -197,30 +197,6 @@ color_hash (gconstpointer v)
void
gnm_color_init (void)
{
-#warning GTK3: do we still need that?
-#if 0
- GdkColor error;
-
- if (gdk_screen_get_default () != NULL) {
- /*
- * Make sure we can see bogus attempt at getting the pixel
- * value. This is, by nature, not multi-head safe.
- */
- gdk_color_parse ("cyan", &error);
- gdk_rgb_find_color (
- gdk_screen_get_default_colormap (
- gdk_screen_get_default ()),
- &error);
- } else
- error.pixel = 0;
-
- gs_black.pixel = error.pixel;
- gs_white.pixel = error.pixel;
- gs_yellow.pixel = error.pixel;
- gs_lavender.pixel = error.pixel;
- gs_dark_gray.pixel = error.pixel;
- gs_light_gray.pixel = error.pixel;
-#endif
style_color_hash = g_hash_table_new (color_hash,
(GEqualFunc)style_color_equal);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]