diff options
author | Timm Bäder <mail@baedert.org> | 2017-04-22 22:16:27 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2017-04-25 20:30:37 +0200 |
commit | f053a63d7480d1b15e4d556ba48461ee3426dc49 (patch) | |
tree | 0cb40b0a560d66463d372fa03c7770a270652a16 /gtk/gtktoolbar.c | |
parent | 066c1983ba2c6f1f891e600c561ab03eac2074a6 (diff) | |
download | gtk+-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/gtktoolbar.c')
-rw-r--r-- | gtk/gtktoolbar.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c index 273493436e..2df9cb7004 100644 --- a/gtk/gtktoolbar.c +++ b/gtk/gtktoolbar.c @@ -234,7 +234,6 @@ static void gtk_toolbar_add (GtkContainer *contain static void gtk_toolbar_remove (GtkContainer *container, GtkWidget *widget); static void gtk_toolbar_forall (GtkContainer *container, - gboolean include_internals, GtkCallback callback, gpointer callback_data); static GType gtk_toolbar_child_type (GtkContainer *container); @@ -2366,7 +2365,6 @@ gtk_toolbar_remove (GtkContainer *container, static void gtk_toolbar_forall (GtkContainer *container, - gboolean include_internals, GtkCallback callback, gpointer callback_data) { @@ -2382,7 +2380,7 @@ gtk_toolbar_forall (GtkContainer *container, ToolbarContent *content = list->data; GList *next = list->next; - if (include_internals || !toolbar_content_is_placeholder (content)) + if (!toolbar_content_is_placeholder (content)) { GtkWidget *child = toolbar_content_get_widget (content); @@ -2392,9 +2390,6 @@ gtk_toolbar_forall (GtkContainer *container, list = next; } - - if (include_internals && priv->arrow_button) - callback (priv->arrow_button, callback_data); } static GType |