2006-06-16 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtksizegroup.c (compute_dimension): Ignore unmapped widgets
+ when ignore_hidden is TRUE. (#344707, Christian Persch)
+
* configure.in: Require cvs glib.
* gtk/gtkprintoperation-unix.c:
2006-06-16 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtksizegroup.c (compute_dimension): Ignore unmapped widgets
+ when ignore_hidden is TRUE. (#344707, Christian Persch)
+
* configure.in: Require cvs glib.
* gtk/gtkprintoperation-unix.c:
/**
* GtkSizeGroup:ignore-hidden:
*
- * If %TRUE, hidden widgets are ignored when determining
+ * If %TRUE, unmapped widgets are ignored when determining
* the size of the group.
*
* Since: 2.8
PROP_IGNORE_HIDDEN,
g_param_spec_boolean ("ignore-hidden",
P_("Ignore hidden"),
- P_("If TRUE, hidden widgets are ignored "
+ P_("If TRUE, unmapped widgets are ignored "
"when determining the size of the group"),
FALSE,
GTK_PARAM_READWRITE));
/**
* gtk_size_group_set_ignore_hidden:
* @size_group: a #GtkSizeGroup
- * @ignore_hidden: whether hidden widgets should be ignored
+ * @ignore_hidden: whether unmapped widgets should be ignored
* when calculating the size
*
- * Sets whether invisible widgets should be ignored when
+ * Sets whether unmapped widgets should be ignored when
* calculating the size.
*
* Since: 2.8
gint dimension = compute_base_dimension (tmp_widget, mode);
- if (GTK_WIDGET_VISIBLE (tmp_widget) || !group->ignore_hidden)
+ if (GTK_WIDGET_MAPPED (tmp_widget) || !group->ignore_hidden)
{
if (dimension > result)
result = dimension;