docs: remove deprecated color selection screenshot

This commit is contained in:
William Jon McCann 2013-07-17 15:09:10 -04:00
parent 77da3f5cc2
commit 5264ba2705

View File

@ -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 ());