[gtk/bin-removal: 49/49] Drop GtkBin



commit 79143bf7fab7333eca7bc4bfedff061418003901
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun May 3 19:32:13 2020 -0400

    Drop GtkBin
    
    It is no longer used anywhere.

 docs/reference/gtk/gtk4-docs.xml     |   1 -
 docs/reference/gtk/gtk4-sections.txt |  18 ---
 docs/reference/gtk/gtk4.types.in     |   1 -
 gtk/gtk.h                            |   1 -
 gtk/gtkbin.c                         | 209 -----------------------------------
 gtk/gtkbin.h                         |  80 --------------
 gtk/gtkcellrenderercombo.c           |   1 -
 gtk/gtkexpander.h                    |   2 +-
 gtk/inspector/action-editor.c        |   1 -
 gtk/meson.build                      |   2 -
 10 files changed, 1 insertion(+), 315 deletions(-)
---
diff --git a/docs/reference/gtk/gtk4-docs.xml b/docs/reference/gtk/gtk4-docs.xml
index 9c1a7cfdce..63cc7d7579 100644
--- a/docs/reference/gtk/gtk4-docs.xml
+++ b/docs/reference/gtk/gtk4-docs.xml
@@ -304,7 +304,6 @@
       <title>Abstract Base Classes</title>
       <xi:include href="xml/gtkwidget.xml" />
       <xi:include href="xml/gtkcontainer.xml" />
-      <xi:include href="xml/gtkbin.xml" />
       <xi:include href="xml/gtkrange.xml" />
       <xi:include href="xml/gtkimcontext.xml" />
       <xi:include href="xml/gtknativedialog.xml" />
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt
index be82b63cf2..83d7c9dcce 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -211,24 +211,6 @@ GTK_ASPECT_FRAME_GET_CLASS
 gtk_aspect_frame_get_type
 </SECTION>
 
-<SECTION>
-<FILE>gtkbin</FILE>
-<TITLE>GtkBin</TITLE>
-GtkBin
-GtkBinClass
-gtk_bin_get_child
-<SUBSECTION Standard>
-GTK_BIN
-GTK_IS_BIN
-GTK_TYPE_BIN
-GTK_BIN_CLASS
-GTK_IS_BIN_CLASS
-GTK_BIN_GET_CLASS
-<SUBSECTION Private>
-GtkBinPrivate
-gtk_bin_get_type
-</SECTION>
-
 <SECTION>
 <FILE>gtkbox</FILE>
 <TITLE>GtkBox</TITLE>
diff --git a/docs/reference/gtk/gtk4.types.in b/docs/reference/gtk/gtk4.types.in
index 5ae7a4e3af..6fa275416c 100644
--- a/docs/reference/gtk/gtk4.types.in
+++ b/docs/reference/gtk/gtk4.types.in
@@ -16,7 +16,6 @@ gtk_application_window_get_type
 gtk_aspect_frame_get_type
 gtk_assistant_get_type
 gtk_assistant_page_get_type
-gtk_bin_get_type
 gtk_bin_layout_get_type
 gtk_box_get_type
 gtk_box_layout_get_type
diff --git a/gtk/gtk.h b/gtk/gtk.h
index a51891e9bc..e9bf5e1cff 100644
--- a/gtk/gtk.h
+++ b/gtk/gtk.h
@@ -46,7 +46,6 @@
 #include <gtk/gtkapplicationwindow.h>
 #include <gtk/gtkaspectframe.h>
 #include <gtk/gtkassistant.h>
-#include <gtk/gtkbin.h>
 #include <gtk/gtkbinlayout.h>
 #include <gtk/gtkborder.h>
 #include <gtk/gtkboxlayout.h>
diff --git a/gtk/gtkcellrenderercombo.c b/gtk/gtkcellrenderercombo.c
index 61de046f04..15c8b649f2 100644
--- a/gtk/gtkcellrenderercombo.c
+++ b/gtk/gtkcellrenderercombo.c
@@ -19,7 +19,6 @@
 #include <string.h>
 
 #include "gtkintl.h"
-#include "gtkbin.h"
 #include "gtkentry.h"
 #include "gtkcelllayout.h"
 #include "gtkcellrenderercombo.h"
diff --git a/gtk/gtkexpander.h b/gtk/gtkexpander.h
index 0970ed74e7..e1e7afef3f 100644
--- a/gtk/gtkexpander.h
+++ b/gtk/gtkexpander.h
@@ -26,7 +26,7 @@
 #error "Only <gtk/gtk.h> can be included directly."
 #endif
 
-#include <gtk/gtkbin.h>
+#include <gtk/gtkwidget.h>
 
 G_BEGIN_DECLS
 
diff --git a/gtk/inspector/action-editor.c b/gtk/inspector/action-editor.c
index b435fcee7f..ba8f227c92 100644
--- a/gtk/inspector/action-editor.c
+++ b/gtk/inspector/action-editor.c
@@ -23,7 +23,6 @@
 #include "gtksizegroup.h"
 #include "gtktogglebutton.h"
 #include "gtkentry.h"
-#include "gtkbin.h"
 #include "gtklabel.h"
 
 struct _GtkInspectorActionEditorPrivate
diff --git a/gtk/meson.build b/gtk/meson.build
index 108fa2826e..3307c1aac1 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -159,7 +159,6 @@ gtk_public_sources = files([
   'gtkapplicationwindow.c',
   'gtkaspectframe.c',
   'gtkassistant.c',
-  'gtkbin.c',
   'gtkbinlayout.c',
   'gtkborder.c',
   'gtkboxlayout.c',
@@ -415,7 +414,6 @@ gtk_public_headers = files([
   'gtkapplicationwindow.h',
   'gtkaspectframe.h',
   'gtkassistant.h',
-  'gtkbin.h',
   'gtkbinlayout.h',
   'gtkborder.h',
   'gtkbox.h',


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