[gtk+] checkbutton: stop saving cairo state
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] checkbutton: stop saving cairo state
- Date: Sun, 20 Dec 2015 06:08:05 +0000 (UTC)
commit 9ac80c2510ba0cf8d5ea79624baeb9273183f475
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Dec 20 01:04:13 2015 -0500
checkbutton: stop saving cairo state
GtkBuiltinIcon now does this on its own.
gtk/gtkcheckbutton.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkcheckbutton.c b/gtk/gtkcheckbutton.c
index 52eaabc..0dddd69 100644
--- a/gtk/gtkcheckbutton.c
+++ b/gtk/gtkcheckbutton.c
@@ -754,11 +754,7 @@ gtk_check_button_draw_indicator (GtkCheckButton *check_button,
if (class->draw_indicator)
class->draw_indicator (check_button, cr);
else
- {
- cairo_save (cr);
- gtk_css_gadget_draw (priv->indicator_gadget, cr);
- cairo_restore (cr);
- }
+ gtk_css_gadget_draw (priv->indicator_gadget, cr);
}
GtkCssNode *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]