summaryrefslogtreecommitdiff
path: root/gtk/gtkcolorswatch.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2018-08-19 17:31:24 +0200
committerTimm Bäder <mail@baedert.org>2018-08-25 08:06:18 +0200
commitfb51f8be9a62586f3b92d479720dc1c5eb4b10af (patch)
treeb875053ccf1e550e5e2bff6f761df9b70e263a73 /gtk/gtkcolorswatch.c
parenteb22c7c9c3ba060e2acad872948a1c7727b3195f (diff)
downloadgtk+-fb51f8be9a62586f3b92d479720dc1c5eb4b10af.tar.gz
colorswatch: Remove dead assignment
Diffstat (limited to 'gtk/gtkcolorswatch.c')
-rw-r--r--gtk/gtkcolorswatch.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkcolorswatch.c b/gtk/gtkcolorswatch.c
index edf3bcc76e..2318f46948 100644
--- a/gtk/gtkcolorswatch.c
+++ b/gtk/gtkcolorswatch.c
@@ -380,8 +380,6 @@ gtk_color_swatch_measure (GtkWidget *widget,
GtkColorSwatchPrivate *priv = gtk_color_swatch_get_instance_private (swatch);
gint w, h, min;
- swatch = GTK_COLOR_SWATCH (widget);
-
gtk_widget_measure (priv->overlay_widget,
orientation,
-1,