[gtk+] widget: Remove useless assignment



commit 8b2c71703e2b5bdc6e8101872e73a5f79f3887eb
Author: Timm Bäder <mail baedert org>
Date:   Tue May 2 20:54:57 2017 +0200

    widget: Remove useless assignment
    
    We don't use adjusted_allocation after this line.

 gtk/gtkwidget.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index b306aae..2ed1038 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -5458,7 +5458,6 @@ gtk_widget_size_allocate_with_baseline (GtkWidget     *widget,
                  G_OBJECT_TYPE_NAME (widget), widget,
                  real_allocation.x, real_allocation.y, real_allocation.width, real_allocation.height,
                  adjusted_allocation.x, adjusted_allocation.y, adjusted_allocation.width, 
adjusted_allocation.height);
-      adjusted_allocation = real_allocation; /* veto it */
     }
   else
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]