gboolean changed;
gboolean changed = FALSE;
void panels_switch_to(Panels *panels, GtkWidget *target){    GtkWidget *child;    GList *children;    gboolean changed;    g_return_if_fail(panels != NULL);    g_return_if_fail(IS_PANELS(panels));    g_return_if_fail(target != NULL);    g_return_if_fail(target->parent == GTK_WIDGET(panels));    for (children = panels->children;         children && (child = children->data);         children = children->next) {	if (!child)            continue;        if (child == target) {            if (!GTK_WIDGET_VISIBLE(child)) {                gtk_widget_show(child);                changed = TRUE;            }        } else {            if (GTK_WIDGET_VISIBLE(child)) {                gtk_widget_hide(child);                changed = TRUE;            }        }    }    if (changed)        gtk_widget_queue_resize(child);}