summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-02-03 11:52:37 +0100
committerBenjamin Otte <otte@redhat.com>2018-02-03 11:52:37 +0100
commitdfc131c7ecf93287caef22ddac9b37b4825b2cf5 (patch)
tree9aa32c4055649fd3575b6a02f4122039e206156c /docs
parent55874470ff6d619dd05d8c344d4b3c3205982eae (diff)
downloadgtk+-dfc131c7ecf93287caef22ddac9b37b4825b2cf5.tar.gz
toolpalette: Remove
The widget was basically unmaintained since GTK 3.0 and the only known user was Glade.
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/gtk/gtk4-docs.xml2
-rw-r--r--docs/reference/gtk/gtk4-sections.txt72
-rw-r--r--docs/reference/gtk/meson.build1
-rw-r--r--docs/reference/gtk/visual_index.xml3
-rw-r--r--docs/tools/widgets.c35
5 files changed, 0 insertions, 113 deletions
diff --git a/docs/reference/gtk/gtk4-docs.xml b/docs/reference/gtk/gtk4-docs.xml
index fa4417a041..29914f7ead 100644
--- a/docs/reference/gtk/gtk4-docs.xml
+++ b/docs/reference/gtk/gtk4-docs.xml
@@ -183,8 +183,6 @@
<xi:include href="xml/gtktoolshell.xml" />
<xi:include href="xml/gtktoolbar.xml" />
<xi:include href="xml/gtktoolitem.xml" />
- <xi:include href="xml/gtktoolpalette.xml" />
- <xi:include href="xml/gtktoolitemgroup.xml" />
<xi:include href="xml/gtkseparatortoolitem.xml" />
<xi:include href="xml/gtktoolbutton.xml" />
<xi:include href="xml/gtkmenutoolbutton.xml" />
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt
index fd0c3229e9..f519d322a3 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -3228,78 +3228,6 @@ GtkToggleToolButtonPrivate
</SECTION>
<SECTION>
-<FILE>gtktoolitemgroup</FILE>
-<TITLE>GtkToolItemGroup</TITLE>
-GtkToolItemGroup
-GtkToolItemGroupClass
-gtk_tool_item_group_get_collapsed
-gtk_tool_item_group_get_drop_item
-gtk_tool_item_group_get_ellipsize
-gtk_tool_item_group_get_item_position
-gtk_tool_item_group_get_n_items
-gtk_tool_item_group_get_label
-gtk_tool_item_group_get_label_widget
-gtk_tool_item_group_get_nth_item
-gtk_tool_item_group_get_header_relief
-gtk_tool_item_group_insert
-gtk_tool_item_group_new
-gtk_tool_item_group_set_collapsed
-gtk_tool_item_group_set_ellipsize
-gtk_tool_item_group_set_item_position
-gtk_tool_item_group_set_label
-gtk_tool_item_group_set_label_widget
-gtk_tool_item_group_set_header_relief
-
-<SUBSECTION Standard>
-GTK_TOOL_ITEM_GROUP
-GTK_IS_TOOL_ITEM_GROUP
-GTK_TYPE_TOOL_ITEM_GROUP
-GTK_TOOL_ITEM_GROUP_CLASS
-GTK_IS_TOOL_ITEM_GROUP_CLASS
-GTK_TOOL_ITEM_GROUP_GET_CLASS
-
-<SUBSECTION Private>
-GtkToolItemGroupPrivate
-gtk_tool_item_group_get_type
-</SECTION>
-
-<SECTION>
-<FILE>gtktoolpalette</FILE>
-<TITLE>GtkToolPalette</TITLE>
-GtkToolPalette
-GtkToolPaletteClass
-gtk_tool_palette_new
-gtk_tool_palette_get_exclusive
-gtk_tool_palette_set_exclusive
-gtk_tool_palette_get_expand
-gtk_tool_palette_set_expand
-gtk_tool_palette_get_group_position
-gtk_tool_palette_set_group_position
-gtk_tool_palette_get_style
-gtk_tool_palette_set_style
-gtk_tool_palette_unset_style
-gtk_tool_palette_add_drag_dest
-gtk_tool_palette_get_drag_item
-gtk_tool_palette_get_drag_target_group
-gtk_tool_palette_get_drag_target_item
-gtk_tool_palette_get_drop_group
-gtk_tool_palette_get_drop_item
-GtkToolPaletteDragTargets
-gtk_tool_palette_set_drag_source
-
-<SUBSECTION Standard>
-GTK_TOOL_PALETTE
-GTK_IS_TOOL_PALETTE
-GTK_TYPE_TOOL_PALETTE
-GTK_TOOL_PALETTE_CLASS
-GTK_IS_TOOL_PALETTE_CLASS
-GTK_TOOL_PALETTE_GET_CLASS
-<SUBSECTION Private>
-gtk_tool_palette_get_type
-GtkToolPalettePrivate
-</SECTION>
-
-<SECTION>
<FILE>gtktooltip</FILE>
<TITLE>GtkTooltip</TITLE>
GtkTooltip
diff --git a/docs/reference/gtk/meson.build b/docs/reference/gtk/meson.build
index f94454fb2c..dbcd77ea3e 100644
--- a/docs/reference/gtk/meson.build
+++ b/docs/reference/gtk/meson.build
@@ -132,7 +132,6 @@ images = [
'images/switch.png',
'images/toggle-button.png',
'images/toolbar.png',
- 'images/toolpalette.png',
'images/tree-view-coordinates.png',
'images/up-center.png',
'images/up-end.png',
diff --git a/docs/reference/gtk/visual_index.xml b/docs/reference/gtk/visual_index.xml
index 2eadeae47c..b75e192c54 100644
--- a/docs/reference/gtk/visual_index.xml
+++ b/docs/reference/gtk/visual_index.xml
@@ -168,9 +168,6 @@
<link linkend="GtkToolbar">
<inlinegraphic fileref="toolbar.png" format="PNG"></inlinegraphic>
</link>
- <link linkend="GtkToolPalette">
- <inlinegraphic fileref="toolpalette.png" format="PNG"></inlinegraphic>
- </link>
<link linkend="GtkPlacesSidebar">
<inlinegraphic fileref="placessidebar.png" format="PNG"></inlinegraphic>
</link>
diff --git a/docs/tools/widgets.c b/docs/tools/widgets.c
index 6feaf98759..d74f5fb83b 100644
--- a/docs/tools/widgets.c
+++ b/docs/tools/widgets.c
@@ -801,40 +801,6 @@ create_toolbar (void)
}
static WidgetInfo *
-create_toolpalette (void)
-{
- GtkWidget *widget, *group;
- GtkToolItem *item;
-
- widget = gtk_tool_palette_new ();
- group = gtk_tool_item_group_new ("Tools");
- gtk_container_add (GTK_CONTAINER (widget), group);
- item = gtk_tool_button_new (NULL, NULL);
- gtk_tool_button_set_icon_name (GTK_TOOL_BUTTON (item), "help-about");
- gtk_tool_item_group_insert (GTK_TOOL_ITEM_GROUP (group), item, -1);
- item = gtk_tool_button_new (NULL, NULL);
- gtk_tool_button_set_icon_name (GTK_TOOL_BUTTON (item), "document-new");
- gtk_tool_item_group_insert (GTK_TOOL_ITEM_GROUP (group), item, -1);
- item = gtk_tool_button_new (NULL, NULL);
- gtk_tool_button_set_icon_name (GTK_TOOL_BUTTON (item), "folder");
- gtk_tool_item_group_insert (GTK_TOOL_ITEM_GROUP (group), item, -1);
-
- group = gtk_tool_item_group_new ("More tools");
- gtk_container_add (GTK_CONTAINER (widget), group);
- item = gtk_tool_button_new (NULL, NULL);
- gtk_tool_button_set_icon_name (GTK_TOOL_BUTTON (item), "edit-cut");
- gtk_tool_item_group_insert (GTK_TOOL_ITEM_GROUP (group), item, -1);
- item = gtk_tool_button_new (NULL, NULL);
- gtk_tool_button_set_icon_name (GTK_TOOL_BUTTON (item), "edit-find");
- gtk_tool_item_group_insert (GTK_TOOL_ITEM_GROUP (group), item, -1);
- item = gtk_tool_button_new (NULL, NULL);
- gtk_tool_button_set_icon_name (GTK_TOOL_BUTTON (item), "document-properties");
- gtk_tool_item_group_insert (GTK_TOOL_ITEM_GROUP (group), item, -1);
-
- return new_widget_info ("toolpalette", widget, MEDIUM);
-}
-
-static WidgetInfo *
create_menubar (void)
{
GtkWidget *widget, *vbox, *item;
@@ -1455,7 +1421,6 @@ get_all_widgets (void)
retval = g_list_prepend (retval, create_headerbar ());
retval = g_list_prepend (retval, create_stack ());
retval = g_list_prepend (retval, create_stack_switcher ());
- retval = g_list_prepend (retval, create_toolpalette ());
retval = g_list_prepend (retval, create_spinner ());
retval = g_list_prepend (retval, create_about_dialog ());
retval = g_list_prepend (retval, create_accel_label ());