[gtk] buttonbox: Remove redundant if statement
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] buttonbox: Remove redundant if statement
- Date: Thu, 3 Jan 2019 08:02:43 +0000 (UTC)
commit ea3d0c0f01ba7d0197a60e3c07fdfcc8a2386ad2
Author: Timm Bäder <mail baedert org>
Date: Wed Dec 26 06:59:51 2018 +0100
buttonbox: Remove redundant if statement
This used to do something in the past.
gtk/gtkbbox.c | 5 -----
1 file changed, 5 deletions(-)
---
diff --git a/gtk/gtkbbox.c b/gtk/gtkbbox.c
index 4ea91a69e9..4addf8ae5a 100644
--- a/gtk/gtkbbox.c
+++ b/gtk/gtkbbox.c
@@ -835,11 +835,6 @@ gtk_button_box_size_allocate (GtkWidget *widget,
}
total_size = primary_size + secondary_size;
- if (orientation == GTK_ORIENTATION_HORIZONTAL)
- width = width;
- else
- height = height;
-
switch (priv->layout_style)
{
case GTK_BUTTONBOX_SPREAD:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]