[gtk+/gtk-3-10] GtkListBox: Expand the placeholder
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-10] GtkListBox: Expand the placeholder
- Date: Mon, 11 Nov 2013 14:59:48 +0000 (UTC)
commit f23e1cdde5f4b46e4146ad2d89cfb780fe1b6e6d
Author: Timm Bäder <mail baedert org>
Date: Fri Nov 1 12:30:07 2013 +0100
GtkListBox: Expand the placeholder
https://bugzilla.gnome.org/show_bug.cgi?id=711255
gtk/gtklistbox.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c
index c438c14..d2376b6 100644
--- a/gtk/gtklistbox.c
+++ b/gtk/gtklistbox.c
@@ -1994,7 +1994,7 @@ gtk_list_box_real_size_allocate (GtkWidget *widget,
{
gtk_widget_get_preferred_height_for_width (priv->placeholder,
allocation->width, &child_min, NULL);
- header_allocation.height = child_min;
+ header_allocation.height = allocation->height;
header_allocation.y = child_allocation.y;
gtk_widget_size_allocate (priv->placeholder,
&header_allocation);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]