[gtk+] action bar: remove the forall implementation
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] action bar: remove the forall implementation
- Date: Tue, 18 Feb 2014 02:43:22 +0000 (UTC)
commit 0ff0fdfefbba86f3dc7713cf55bbf00194274fe3
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Feb 17 21:39:44 2014 -0500
action bar: remove the forall implementation
With nested internal children, this interferes with proper
cleanup, and makes the templates test fail.
gtk/gtkactionbar.c | 15 ---------------
1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/gtk/gtkactionbar.c b/gtk/gtkactionbar.c
index 9be1fe0..7794007 100644
--- a/gtk/gtkactionbar.c
+++ b/gtk/gtkactionbar.c
@@ -122,20 +122,6 @@ gtk_action_bar_remove (GtkContainer *container,
gtk_container_remove (GTK_CONTAINER (priv->center_box), child);
}
-static void
-gtk_action_bar_forall (GtkContainer *container,
- gboolean include_internals,
- GtkCallback callback,
- gpointer callback_data)
-{
- GtkActionBarPrivate *priv = gtk_action_bar_get_instance_private (GTK_ACTION_BAR (container));
-
- if (include_internals)
- (* callback) (priv->revealer, callback_data);
- else if (priv->center_box)
- gtk_container_forall (GTK_CONTAINER (priv->center_box), callback, callback_data);
-}
-
static GType
gtk_action_bar_child_type (GtkContainer *container)
{
@@ -202,7 +188,6 @@ gtk_action_bar_class_init (GtkActionBarClass *klass)
container_class->add = gtk_action_bar_add;
container_class->remove = gtk_action_bar_remove;
- container_class->forall = gtk_action_bar_forall;
container_class->child_type = gtk_action_bar_child_type;
container_class->set_child_property = gtk_action_bar_set_child_property;
container_class->get_child_property = gtk_action_bar_get_child_property;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]