[gdl] Initialize allocation height of dock grip button fixing lots of warnings with valgrind
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdl] Initialize allocation height of dock grip button fixing lots of warnings with valgrind
- Date: Wed, 26 Feb 2014 21:23:41 +0000 (UTC)
commit d2441ad087b737115a92b39d9daf00b460cd90a1
Author: Sébastien Granjoux <seb sfo free fr>
Date: Wed Feb 26 22:19:05 2014 +0100
Initialize allocation height of dock grip button fixing lots of warnings with valgrind
gdl/gdl-dock-item-grip.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdl/gdl-dock-item-grip.c b/gdl/gdl-dock-item-grip.c
index fd55529..6f8cba8 100644
--- a/gdl/gdl-dock-item-grip.c
+++ b/gdl/gdl-dock-item-grip.c
@@ -584,10 +584,10 @@ gdl_dock_item_grip_size_allocate (GtkWidget *widget,
child_allocation.x -= close_requisition.width;
child_allocation.width = close_requisition.width;
- child_allocation.height = close_requisition.height;
} else {
child_allocation.width = 0;
}
+ child_allocation.height = close_requisition.height;
gtk_widget_size_allocate (grip->priv->close_button, &child_allocation);
@@ -603,10 +603,10 @@ gdl_dock_item_grip_size_allocate (GtkWidget *widget,
child_allocation.x -= iconify_requisition.width;
child_allocation.width = iconify_requisition.width;
- child_allocation.height = iconify_requisition.height;
} else {
child_allocation.width = 0;
}
+ child_allocation.height = iconify_requisition.height;
gtk_widget_size_allocate (grip->priv->iconify_button, &child_allocation);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]