[gtk+/wip/baedert/box: 30/72] Remove GtkTable
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/box: 30/72] Remove GtkTable
- Date: Mon, 17 Oct 2016 16:52:14 +0000 (UTC)
commit f25c01c98d00555219541d6f60b523af55bd2fa0
Author: Timm Bäder <mail baedert org>
Date: Thu Oct 13 15:55:00 2016 +0200
Remove GtkTable
demos/gtk-demo/main.c | 1 -
docs/reference/gtk/gtk4-sections.txt | 34 -
gtk/deprecated/Makefile.inc | 2 -
gtk/deprecated/gtktable.c | 1932 ----------------------------------
gtk/deprecated/gtktable.h | 180 ----
gtk/gtk.h | 1 -
gtk/gtkgrid.c | 4 +-
testsuite/a11y/children.c | 1 -
testsuite/gtk/builder.c | 1 -
testsuite/gtk/notify.c | 1 -
10 files changed, 2 insertions(+), 2155 deletions(-)
---
diff --git a/demos/gtk-demo/main.c b/demos/gtk-demo/main.c
index 616c33f..ea7da0a 100644
--- a/demos/gtk-demo/main.c
+++ b/demos/gtk-demo/main.c
@@ -293,7 +293,6 @@ static gchar *types[] =
"PangoMatrix ",
"PangoContext ",
"PangoLayout ",
- "GtkTable ",
"GtkToggleButton ",
"GString ",
"GtkIconSize ",
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt
index 94b44ff..d79d1a3 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -3260,40 +3260,6 @@ gtk_level_bar_get_type
</SECTION>
<SECTION>
-<FILE>gtktable</FILE>
-<TITLE>GtkTable</TITLE>
-GtkTable
-gtk_table_new
-gtk_table_resize
-gtk_table_get_size
-GtkAttachOptions
-gtk_table_attach
-gtk_table_attach_defaults
-gtk_table_set_row_spacing
-gtk_table_set_col_spacing
-gtk_table_set_row_spacings
-gtk_table_set_col_spacings
-gtk_table_set_homogeneous
-gtk_table_get_default_row_spacing
-gtk_table_get_homogeneous
-gtk_table_get_row_spacing
-gtk_table_get_col_spacing
-gtk_table_get_default_col_spacing
-<SUBSECTION Standard>
-GTK_TABLE
-GTK_IS_TABLE
-GTK_TYPE_TABLE
-GTK_TABLE_CLASS
-GTK_IS_TABLE_CLASS
-GTK_TABLE_GET_CLASS
-<SUBSECTION Private>
-GtkTablePrivate
-GtkTableChild
-GtkTableRowCol
-gtk_table_get_type
-</SECTION>
-
-<SECTION>
<FILE>gtktearoffmenuitem</FILE>
<TITLE>GtkTearoffMenuItem</TITLE>
GtkTearoffMenuItem
diff --git a/gtk/deprecated/Makefile.inc b/gtk/deprecated/Makefile.inc
index 4cc0f9c..371be26 100644
--- a/gtk/deprecated/Makefile.inc
+++ b/gtk/deprecated/Makefile.inc
@@ -8,7 +8,6 @@ deprecated_h_sources = \
deprecated/gtkrecentaction.h \
deprecated/gtkstock.h \
deprecated/gtksymboliccolor.h \
- deprecated/gtktable.h \
deprecated/gtktoggleaction.h \
deprecated/gtkuimanager.h
@@ -26,6 +25,5 @@ deprecated_c_sources = \
deprecated/gtkrecentaction.c \
deprecated/gtkstock.c \
deprecated/gtksymboliccolor.c \
- deprecated/gtktable.c \
deprecated/gtktoggleaction.c \
deprecated/gtkuimanager.c
diff --git a/gtk/gtk.h b/gtk/gtk.h
index 04132bf..610a920 100644
--- a/gtk/gtk.h
+++ b/gtk/gtk.h
@@ -253,7 +253,6 @@
#include <gtk/deprecated/gtkrecentaction.h>
#include <gtk/deprecated/gtkstock.h>
#include <gtk/deprecated/gtksymboliccolor.h>
-#include <gtk/deprecated/gtktable.h>
#include <gtk/deprecated/gtktoggleaction.h>
#include <gtk/deprecated/gtkuimanager.h>
#endif /* GTK_DISABLE_DEPRECATED */
diff --git a/gtk/gtkgrid.c b/gtk/gtkgrid.c
index 31808d0..b1e6289 100644
--- a/gtk/gtkgrid.c
+++ b/gtk/gtkgrid.c
@@ -36,10 +36,10 @@
* SECTION:gtkgrid
* @Short_description: Pack widgets in a rows and columns
* @Title: GtkGrid
- * @See_also: #GtkTable, #GtkVBox
+ * @See_also: #GtkBox
*
* GtkGrid is a container which arranges its child widgets in
- * rows and columns. It is a very similar to #GtkTable and #GtkBox,
+ * rows and columns. It is a very similar to #GtkBox,
* but it consistently uses #GtkWidget’s #GtkWidget:margin and #GtkWidget:expand
* properties instead of custom child properties, and it fully supports
* [height-for-width geometry management][geometry-management].
diff --git a/testsuite/a11y/children.c b/testsuite/a11y/children.c
index 21d2801..f66a6a4 100644
--- a/testsuite/a11y/children.c
+++ b/testsuite/a11y/children.c
@@ -253,7 +253,6 @@ main (int argc, char *argv[])
add_child_tests (gtk_assistant_new ());
add_child_tests (gtk_frame_new ("frame"));
add_child_tests (gtk_expander_new ("expander"));
- add_child_tests (gtk_table_new (2, 2, FALSE));
add_child_tests (gtk_text_view_new ());
add_child_tests (gtk_tree_view_new ());
#if 0
diff --git a/testsuite/gtk/builder.c b/testsuite/gtk/builder.c
index ca3e5d5..1f9c6ec 100644
--- a/testsuite/gtk/builder.c
+++ b/testsuite/gtk/builder.c
@@ -741,7 +741,6 @@ test_types (void)
" <object class=\"GtkToolbar\" id=\"toolbar\"/>"
" <object class=\"GtkTreeStore\" id=\"treestore\"/>"
" <object class=\"GtkTreeView\" id=\"treeview\"/>"
- " <object class=\"GtkTable\" id=\"table\"/>"
" <object class=\"GtkViewport\" id=\"viewport\"/>"
" <object class=\"GtkWindow\" id=\"window\"/>"
" <object class=\"GtkUIManager\" id=\"uimanager\"/>"
diff --git a/testsuite/gtk/notify.c b/testsuite/gtk/notify.c
index a1a291a..048ef22 100644
--- a/testsuite/gtk/notify.c
+++ b/testsuite/gtk/notify.c
@@ -375,7 +375,6 @@ test_type (gconstpointer data)
g_str_equal (g_type_name (type), "GtkNumerableIcon") ||
g_str_equal (g_type_name (type), "GtkRadioAction") ||
g_str_equal (g_type_name (type), "GtkToggleAction") ||
- g_str_equal (g_type_name (type), "GtkTable") ||
g_str_equal (g_type_name (type), "GtkUIManager") ||
g_str_equal (g_type_name (type), "GtkImageMenuItem"))
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]