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



commit 376a3b80ba0db8c50fbbd0dc6306768f1507b9d8
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]