[gtk+] docs: remove deprecated color selection screenshot
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] docs: remove deprecated color selection screenshot
- Date: Thu, 18 Jul 2013 00:52:55 +0000 (UTC)
commit 5264ba2705ed8c27854ca4830a1a588574110af1
Author: William Jon McCann <william jon mccann gmail com>
Date: Wed Jul 17 15:09:10 2013 -0400
docs: remove deprecated color selection screenshot
docs/tools/widgets.c | 32 --------------------------------
1 files changed, 0 insertions(+), 32 deletions(-)
---
diff --git a/docs/tools/widgets.c b/docs/tools/widgets.c
index 3daf70b..b0bf800 100644
--- a/docs/tools/widgets.c
+++ b/docs/tools/widgets.c
@@ -773,37 +773,6 @@ create_window (void)
}
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)
{
WidgetInfo *info;
@@ -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 ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]