summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,