[gtk+/wip/baedert/gtkimageview: 133/135] widget: Remove some dead assignments



commit 13f2d2efc582d6d27db590738b6ec401be0decca
Author: Timm Bäder <mail baedert org>
Date:   Thu Jul 14 22:09:59 2016 +0200

    widget: Remove some dead assignments

 gtk/gtkwidget.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index ab9e589..0041a72 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -6059,7 +6059,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
     {
@@ -15962,8 +15961,6 @@ gtk_widget_update_alpha (GtkWidget *widget)
 
   priv = widget->priv;
 
-  alpha = priv->user_alpha;
-
   context = _gtk_widget_get_style_context (widget);
   opacity =
     _gtk_css_number_value_get (_gtk_style_context_peek_property (context,


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