[gtk+] entry: Don't draw icons twice
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] entry: Don't draw icons twice
- Date: Thu, 14 Jan 2016 15:05:59 +0000 (UTC)
commit a5fabee202911c94d9db09f98cdac3a48ef1667d
Author: Timm Bäder <mail baedert org>
Date: Wed Jan 13 19:14:33 2016 +0100
entry: Don't draw icons twice
gtk/gtkentry.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index ef35ffc..94e2856 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -4014,15 +4014,6 @@ gtk_entry_render (GtkCssGadget *gadget,
/* Draw entry_bg, shadow, progress and focus */
gtk_entry_draw_frame (widget, context, cr);
- /* Draw icons */
- for (i = 0; i < MAX_ICONS; i++)
- {
- EntryIconInfo *icon_info = priv->icons[i];
-
- if (icon_info != NULL)
- gtk_css_gadget_draw (icon_info->gadget, cr);
- }
-
/* Draw text and cursor */
cairo_save (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]