summaryrefslogtreecommitdiff
path: root/gtk/gtktoolitemgroup.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-04-22 22:16:27 +0200
committerTimm Bäder <mail@baedert.org>2017-04-25 20:30:37 +0200
commitf053a63d7480d1b15e4d556ba48461ee3426dc49 (patch)
tree0cb40b0a560d66463d372fa03c7770a270652a16 /gtk/gtktoolitemgroup.c
parent066c1983ba2c6f1f891e600c561ab03eac2074a6 (diff)
downloadgtk+-f053a63d7480d1b15e4d556ba48461ee3426dc49.tar.gz
container: Remove include_internals parameter from forall
with include_internals=TRUE, this is the same as the (still private) gtk_widget_forall, or just using the children/sibling accessors in a loop.
Diffstat (limited to 'gtk/gtktoolitemgroup.c')
-rw-r--r--gtk/gtktoolitemgroup.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gtk/gtktoolitemgroup.c b/gtk/gtktoolitemgroup.c
index e808427ab2..91184c2c92 100644
--- a/gtk/gtktoolitemgroup.c
+++ b/gtk/gtktoolitemgroup.c
@@ -1312,7 +1312,6 @@ gtk_tool_item_group_remove (GtkContainer *container,
static void
gtk_tool_item_group_forall (GtkContainer *container,
- gboolean internals,
GtkCallback callback,
gpointer callback_data)
{
@@ -1320,9 +1319,6 @@ gtk_tool_item_group_forall (GtkContainer *container,
GtkToolItemGroupPrivate* priv = group->priv;
GList *children;
- if (internals && priv->header)
- callback (priv->header, callback_data);
-
children = priv->children;
while (children)
{