[gtk/wip/baedert/gl-rework: 2/8] colorswatch: Avoid redundant assignment



commit a0364f5739fce298a27b547939226cfb2c8bb4ea
Author: Timm Bäder <mail baedert org>
Date:   Thu Jan 2 13:49:01 2020 +0100

    colorswatch: Avoid redundant assignment

 gtk/gtkcolorswatch.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/gtk/gtkcolorswatch.c b/gtk/gtkcolorswatch.c
index ea117d4f79..b1eb56160e 100644
--- a/gtk/gtkcolorswatch.c
+++ b/gtk/gtkcolorswatch.c
@@ -551,7 +551,6 @@ gtk_color_swatch_init (GtkColorSwatch *swatch)
   GtkEventController *controller;
   GtkGesture *gesture;
 
-  priv = gtk_color_swatch_get_instance_private (swatch);
   priv->use_alpha = TRUE;
   priv->selectable = TRUE;
   priv->has_menu = TRUE;


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