[gtk+] color swatch: Remove a stray frame
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] color swatch: Remove a stray frame
- Date: Thu, 7 Jan 2016 19:08:38 +0000 (UTC)
commit 8ecba899916aab7956ca9850c89d346fab24ae55
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jan 7 13:24:32 2016 -0500
color swatch: Remove a stray frame
When using a gadget, the border is free, no need to call
gtk_render_frame ourselves.
gtk/gtkcolorswatch.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcolorswatch.c b/gtk/gtkcolorswatch.c
index 72526bf..4f31f6e 100644
--- a/gtk/gtkcolorswatch.c
+++ b/gtk/gtkcolorswatch.c
@@ -154,8 +154,6 @@ gtk_color_swatch_render (GtkCssGadget *gadget,
cairo_fill (cr);
}
- gtk_render_frame (context, cr, x, y, width, height);
-
gtk_css_gadget_draw (swatch->priv->overlay_gadget, cr);
return gtk_widget_has_visible_focus (widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]