| Index: chrome/browser/gtk/gtk_floating_container.cc
|
| diff --git a/chrome/browser/gtk/gtk_floating_container.cc b/chrome/browser/gtk/gtk_floating_container.cc
|
| index 51f5e14ffff43e966145f4c54232746e07e89a7d..b9d0e4609942500fd5fdbdb32b495df0bdaf4648 100644
|
| --- a/chrome/browser/gtk/gtk_floating_container.cc
|
| +++ b/chrome/browser/gtk/gtk_floating_container.cc
|
| @@ -172,12 +172,12 @@ static void gtk_floating_container_forall(GtkContainer* container,
|
| gboolean include_internals,
|
| GtkCallback callback,
|
| gpointer callback_data) {
|
| - GtkBin *bin = GTK_BIN(container);
|
| -
|
| + g_return_if_fail(container != NULL);
|
| g_return_if_fail(callback != NULL);
|
|
|
| - if (bin->child)
|
| - (*callback)(bin->child, callback_data);
|
| + // Let GtkBin do its part of the forall.
|
| + ((GTK_CONTAINER_CLASS(gtk_floating_container_parent_class))->forall)
|
| + (container, include_internals, callback, callback_data);
|
|
|
| GtkFloatingContainer* floating = GTK_FLOATING_CONTAINER(container);
|
| GList* children = floating->floating_children;
|
|
|