color-swatch: remove gtk_color_swatch_set_corner_radii()

It's unused now.
This commit is contained in:
Cosimo Cecchi 2012-02-08 18:08:52 -05:00 committed by Matthias Clasen
parent 74a53b542b
commit bcc4186388
2 changed files with 1 additions and 21 deletions

View File

@ -691,21 +691,6 @@ gtk_color_swatch_get_rgba (GtkColorSwatch *swatch,
}
}
void
gtk_color_swatch_set_corner_radii (GtkColorSwatch *swatch,
gdouble top_left,
gdouble top_right,
gdouble bottom_right,
gdouble bottom_left)
{
swatch->priv->radius[0] = top_left;
swatch->priv->radius[1] = top_right;
swatch->priv->radius[2] = bottom_right;
swatch->priv->radius[3] = bottom_left;
gtk_widget_queue_draw (GTK_WIDGET (swatch));
}
void
gtk_color_swatch_set_selected (GtkColorSwatch *swatch,
gboolean selected)

View File

@ -68,12 +68,7 @@ GType gtk_color_swatch_get_type (void) G_GNUC_CONST;
G_GNUC_INTERNAL
GtkWidget * gtk_color_swatch_new (void);
G_GNUC_INTERNAL
void gtk_color_swatch_set_corner_radii (GtkColorSwatch *swatch,
gdouble top_left,
gdouble top_right,
gdouble bottom_right,
gdouble bottom_left);
G_GNUC_INTERNAL
void gtk_color_swatch_set_rgba (GtkColorSwatch *swatch,
const GdkRGBA *color);