diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-08-31 08:13:20 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-08-31 08:13:20 -0400 |
commit | 6ccc6a56505410c34b84ebe2c295a3375855627f (patch) | |
tree | c63ea600f317e277aa6c4cc55a76aceb00d6ccd8 /docs | |
parent | cff211ea1f50a9dcb1617eb27939df8e9fac5a73 (diff) | |
download | gtk+-6ccc6a56505410c34b84ebe2c295a3375855627f.tar.gz |
doc shooter: Remove radio button remnants
Diffstat (limited to 'docs')
-rw-r--r-- | docs/tools/widgets.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/docs/tools/widgets.c b/docs/tools/widgets.c index 1498ca6f99..5ba95d6a52 100644 --- a/docs/tools/widgets.c +++ b/docs/tools/widgets.c @@ -281,25 +281,6 @@ create_search_entry (void) } static WidgetInfo * -create_radio (void) -{ - GtkWidget *widget; - GtkWidget *radio; - - widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 3); - radio = gtk_radio_button_new_with_mnemonic (NULL, "Radio Button _One"); - gtk_box_append (GTK_BOX (widget), radio); - radio = gtk_radio_button_new_with_mnemonic_from_widget (GTK_RADIO_BUTTON (radio), "Radio Button _Two"); - gtk_box_append (GTK_BOX (widget), radio); - radio = gtk_radio_button_new_with_mnemonic_from_widget (GTK_RADIO_BUTTON (radio), "Radio Button T_hree"); - gtk_box_append (GTK_BOX (widget), radio); - gtk_widget_set_halign (widget, GTK_ALIGN_CENTER); - gtk_widget_set_valign (widget, GTK_ALIGN_CENTER); - - return new_widget_info ("radio-group", widget, MEDIUM); -} - -static WidgetInfo * create_label (void) { GtkWidget *widget; @@ -1548,7 +1529,6 @@ get_all_widgets (void) retval = g_list_prepend (retval, create_notebook ()); retval = g_list_prepend (retval, create_panes ()); retval = g_list_prepend (retval, create_progressbar ()); - retval = g_list_prepend (retval, create_radio ()); retval = g_list_prepend (retval, create_scales ()); retval = g_list_prepend (retval, create_scrolledwindow ()); retval = g_list_prepend (retval, create_scrollbar ()); |