[gtk+/gtk-3-22] widget: remove double assignment



commit a2c8af7f325495def281c87467722750bb526790
Author: Timm Bäder <mail baedert org>
Date:   Sun Apr 30 20:21:39 2017 +0200

    widget: remove double assignment
    
    We never read the value we assign here.

 gtk/gtkwidget.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 5a79090..511a972 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -16000,8 +16000,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]