colorswatch: Avoid redundant assignment
authorTimm Bäder <mail@baedert.org>
Thu, 2 Jan 2020 12:49:01 +0000 (13:49 +0100)
committerTimm Bäder <mail@baedert.org>
Tue, 7 Jan 2020 16:27:18 +0000 (17:27 +0100)
gtk/gtkcolorswatch.c

index ea117d4f79d1cc12c696d6393aeee4e93d749bb0..b1eb56160e0bc64f23d9b1548609d0874c2b1912 100644 (file)
@@ -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;