[goffice] Compilation: remove #ifdef'd code.



commit 142397244965ac4da3c0178357e922e91209d746
Author: Morten Welinder <terra gnome org>
Date:   Sat Dec 6 12:24:44 2014 -0500

    Compilation: remove #ifdef'd code.
    
    This removes our last reference to GTK_STATE_NORMAL.

 goffice/gtk/go-color-palette.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/goffice/gtk/go-color-palette.c b/goffice/gtk/go-color-palette.c
index 06a6434..f33fb4b 100644
--- a/goffice/gtk/go-color-palette.c
+++ b/goffice/gtk/go-color-palette.c
@@ -277,13 +277,6 @@ cb_history_changed (GOColorPalette *pal)
        for (i = 0 ; i < GO_COLOR_GROUP_HISTORY_SIZE ; i++)
                gtk_widget_override_background_color (pal->swatches [i], GTK_STATE_FLAG_NORMAL,
                        go_color_to_gdk_rgba (group->history[i], &gdk));
-#if 0
-       if (next_swatch != NULL) {
-               next_swatch->style->bg[GTK_STATE_NORMAL] = *new_color;
-               gnome_color_picker_set_i16 (GNOME_COLOR_PICKER (pal->picker),
-                       new_color->red, new_color->green, new_color->blue, 0);
-       }
-#endif
 }
 
 static gboolean


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