From 5264ba2705ed8c27854ca4830a1a588574110af1 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Wed, 17 Jul 2013 15:09:10 -0400 Subject: [PATCH] docs: remove deprecated color selection screenshot --- docs/tools/widgets.c | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/docs/tools/widgets.c b/docs/tools/widgets.c index 3daf70be6b..b0bf800638 100644 --- a/docs/tools/widgets.c +++ b/docs/tools/widgets.c @@ -772,37 +772,6 @@ create_window (void) return info; } -static WidgetInfo * -create_colorsel (void) -{ - WidgetInfo *info; - GtkWidget *widget; - GtkColorSelection *colorsel; - GtkColorSelectionDialog *selection_dialog; - GdkRGBA rgba; - - widget = gtk_color_selection_dialog_new ("Color Selection Dialog"); - selection_dialog = GTK_COLOR_SELECTION_DIALOG (widget); - colorsel = GTK_COLOR_SELECTION (gtk_color_selection_dialog_get_color_selection (selection_dialog)); - - rgba.red = 0.4745; - rgba.green = 0.8588; - rgba.blue = 0.5843; - - gtk_color_selection_set_previous_rgba (colorsel, &rgba); - - rgba.red = 0.4902; - rgba.green = 0.5764; - rgba.blue = 0.7647; - - gtk_color_selection_set_current_rgba (colorsel, &rgba); - - info = new_widget_info ("colorsel", widget, ASIS); - info->include_decorations = TRUE; - - return info; -} - static WidgetInfo * create_fontsel (void) { @@ -1518,7 +1487,6 @@ get_all_widgets (void) retval = g_list_prepend (retval, create_toolbar ()); retval = g_list_prepend (retval, create_tree_view ()); retval = g_list_prepend (retval, create_window ()); - retval = g_list_prepend (retval, create_colorsel ()); retval = g_list_prepend (retval, create_filesel ()); retval = g_list_prepend (retval, create_fontsel ()); retval = g_list_prepend (retval, create_assistant ());