[gtk/wip/baedert/for-master: 28/29] Drop GtkRadioButton




commit 17c4838569364aa96dbaf37de3b2c8f5322ef5ff
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Aug 30 22:25:36 2020 -0400

    Drop GtkRadioButton

 docs/reference/gtk/gtk4-docs.xml            |   1 -
 docs/reference/gtk/gtk4-sections.txt        |  25 --
 docs/reference/gtk/gtk4.types.in            |   1 -
 docs/reference/gtk/images/radio-group.png   | Bin 5596 -> 0 bytes
 docs/reference/gtk/meson.build              |   1 -
 docs/reference/gtk/section-accessibility.md |   2 +-
 docs/reference/gtk/visual_index.xml         |   3 -
 gtk/gtk-autocleanups.h                      |   1 -
 gtk/gtk.h                                   |   1 -
 gtk/gtkradiobutton.c                        | 670 ----------------------------
 gtk/gtkradiobutton.h                        |  74 ---
 gtk/meson.build                             |   2 -
 12 files changed, 1 insertion(+), 780 deletions(-)
---
diff --git a/docs/reference/gtk/gtk4-docs.xml b/docs/reference/gtk/gtk4-docs.xml
index f65688b0fd..62380e2ad8 100644
--- a/docs/reference/gtk/gtk4-docs.xml
+++ b/docs/reference/gtk/gtk4-docs.xml
@@ -201,7 +201,6 @@
       <title>Buttons and Toggles</title>
       <xi:include href="xml/gtkbutton.xml" />
       <xi:include href="xml/gtkcheckbutton.xml" />
-      <xi:include href="xml/gtkradiobutton.xml" />
       <xi:include href="xml/gtktogglebutton.xml" />
       <xi:include href="xml/gtklinkbutton.xml" />
       <xi:include href="xml/gtkmenubutton.xml" />
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt
index 8083e9aada..1ec07553d8 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -2290,31 +2290,6 @@ GtkProgressBarPrivate
 gtk_progress_bar_get_type
 </SECTION>
 
-<SECTION>
-<FILE>gtkradiobutton</FILE>
-<TITLE>GtkRadioButton</TITLE>
-GtkRadioButton
-gtk_radio_button_new
-gtk_radio_button_new_from_widget
-gtk_radio_button_new_with_label
-gtk_radio_button_new_with_label_from_widget
-gtk_radio_button_new_with_mnemonic
-gtk_radio_button_new_with_mnemonic_from_widget
-gtk_radio_button_set_group
-gtk_radio_button_get_group
-gtk_radio_button_join_group
-<SUBSECTION Standard>
-GTK_RADIO_BUTTON
-GTK_IS_RADIO_BUTTON
-GTK_TYPE_RADIO_BUTTON
-GTK_RADIO_BUTTON_CLASS
-GTK_IS_RADIO_BUTTON_CLASS
-GTK_RADIO_BUTTON_GET_CLASS
-<SUBSECTION Private>
-GtkRadioButtonPrivate
-gtk_radio_button_get_type
-</SECTION>
-
 <SECTION>
 <FILE>gtkrange</FILE>
 <TITLE>GtkRange</TITLE>
diff --git a/docs/reference/gtk/gtk4.types.in b/docs/reference/gtk/gtk4.types.in
index cede3f0619..5981ffb897 100644
--- a/docs/reference/gtk/gtk4.types.in
+++ b/docs/reference/gtk/gtk4.types.in
@@ -179,7 +179,6 @@ gtk_print_settings_get_type
 @DISABLE_ON_W32@gtk_print_unix_dialog_get_type
 gtk_progress_bar_get_type
 gtk_property_expression_get_type
-gtk_radio_button_get_type
 gtk_range_get_type
 gtk_recent_manager_get_type
 gtk_revealer_get_type
diff --git a/docs/reference/gtk/meson.build b/docs/reference/gtk/meson.build
index 431192c2c6..4441cc2cf4 100644
--- a/docs/reference/gtk/meson.build
+++ b/docs/reference/gtk/meson.build
@@ -340,7 +340,6 @@ images = [
   'images/popup-slide.png',
   'images/printdialog.png',
   'images/progressbar.png',
-  'images/radio-group.png',
   'images/right-center.png',
   'images/right-end.png',
   'images/right-start.png',
diff --git a/docs/reference/gtk/section-accessibility.md b/docs/reference/gtk/section-accessibility.md
index 4c0a429270..ade43a1bfa 100644
--- a/docs/reference/gtk/section-accessibility.md
+++ b/docs/reference/gtk/section-accessibility.md
@@ -53,7 +53,7 @@ Each role name is part of the #GtkAccessibleRole enumeration.
 | `LABEL` | A visible name or caption for a user interface component | #GtkLabel |
 | `METER` | Represents a value within a known range | #GtkLevelBar |
 | `PROGRESS_BAR` | An element that display progress | #GtkProgressBar |
-| `RADIO` | A checkable input in a group of radio roles | #GtkRadioButton |
+| `RADIO` | A checkable input in a group of radio roles | #GtkCheckButton |
 | `SCROLLBAR` | A graphical object controlling the scrolling of content | #GtkScrollbar |
 | `SEARCH_BOX` | A text box for entering search criteria | #GtkSearchEntry |
 | `SEPARATOR` | A divider that separates sections of content or groups of items | #GtkSeparator |
diff --git a/docs/reference/gtk/visual_index.xml b/docs/reference/gtk/visual_index.xml
index f5e027ed0b..963febf68b 100644
--- a/docs/reference/gtk/visual_index.xml
+++ b/docs/reference/gtk/visual_index.xml
@@ -102,9 +102,6 @@
    <link linkend="GtkVolumeButton">
       <inlinegraphic fileref="volumebutton.png" format="PNG"></inlinegraphic>
     </link>
-    <link linkend="GtkRadioButton">
-      <inlinegraphic fileref="radio-group.png" format="PNG"></inlinegraphic>
-    </link>
     <link linkend="GtkFileChooserButton">
       <inlinegraphic fileref="file-button.png" format="PNG"></inlinegraphic>
     </link>
diff --git a/gtk/gtk-autocleanups.h b/gtk/gtk-autocleanups.h
index b5689b9075..eb4fb1b874 100644
--- a/gtk/gtk-autocleanups.h
+++ b/gtk/gtk-autocleanups.h
@@ -120,7 +120,6 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPrintOperation, g_object_unref)
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPrintOperationPreview, g_object_unref)
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPrintSettings, g_object_unref)
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkProgressBar, g_object_unref)
-G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRadioButton, g_object_unref)
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRange, g_object_unref)
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRecentManager, g_object_unref)
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRevealer, g_object_unref)
diff --git a/gtk/gtk.h b/gtk/gtk.h
index 4819d51756..be942b218b 100644
--- a/gtk/gtk.h
+++ b/gtk/gtk.h
@@ -201,7 +201,6 @@
 #include <gtk/gtkprintoperationpreview.h>
 #include <gtk/gtkprintsettings.h>
 #include <gtk/gtkprogressbar.h>
-#include <gtk/gtkradiobutton.h>
 #include <gtk/gtkrange.h>
 #include <gtk/gtkrecentmanager.h>
 #include <gtk/gtkrender.h>
diff --git a/gtk/meson.build b/gtk/meson.build
index dee33baa5e..0f55ece382 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -331,7 +331,6 @@ gtk_public_sources = files([
   'gtkprintsettings.c',
   'gtkprogressbar.c',
   'gtkpropertylookuplistmodel.c',
-  'gtkradiobutton.c',
   'gtkrange.c',
   'gtktreerbtree.c',
   'gtkrecentmanager.c',
@@ -610,7 +609,6 @@ gtk_public_headers = files([
   'gtkprintoperationpreview.h',
   'gtkprintsettings.h',
   'gtkprogressbar.h',
-  'gtkradiobutton.h',
   'gtkrange.h',
   'gtkrecentmanager.h',
   'gtkrender.h',


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