[gtk+] entry: Omit useless clip
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] entry: Omit useless clip
- Date: Tue, 19 Apr 2011 20:27:03 +0000 (UTC)
commit 6fee78341adaa8c9262ba98d3318824848007d5f
Author: Benjamin Otte <otte redhat com>
Date: Tue Apr 19 01:13:19 2011 +0200
entry: Omit useless clip
We do the same clip further above, so no need to repeat it
gtk/gtkentry.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index beb91c6..b178860 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -5774,8 +5774,6 @@ gtk_entry_draw_text (GtkEntry *entry,
cairo_save (cr);
- cairo_rectangle (cr, 0, 0, width, height);
- cairo_clip (cr);
cairo_save (cr);
cairo_set_fill_rule (cr, CAIRO_FILL_RULE_EVEN_ODD);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]