[gtk] colorswatch: Avoid redundant assignment



commit 04899e3707c81e90de3ce35f230718130e05e1ca
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]