summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2015-06-17 15:58:55 +0200
committerCarlos Garnacho <carlosg@gnome.org>2015-06-17 15:58:55 +0200
commit15bb9acc8ad0cb53969d402025aab64aa52972cd (patch)
treeb7147b95a554a205461b3fedcaf279ef999190bc
parent77d429bc4debc3840ccbed9faf5616792c3e4fb5 (diff)
downloadgtk+-15bb9acc8ad0cb53969d402025aab64aa52972cd.tar.gz
texthandle: Avoid double rendering of background/frame
gtk_render_handle() already renders background/frame itself, avoid doing this twice.
-rw-r--r--gtk/gtktexthandle.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtktexthandle.c b/gtk/gtktexthandle.c
index 47de7efe5f..c89cf6339c 100644
--- a/gtk/gtktexthandle.c
+++ b/gtk/gtktexthandle.c
@@ -131,8 +131,6 @@ _gtk_text_handle_draw (GtkTextHandle *handle,
gtk_style_context_add_class (context,
GTK_STYLE_CLASS_TOP);
- gtk_render_background (context, cr, 0, 0, width, height);
- gtk_render_frame (context, cr, 0, 0, width, height);
gtk_render_handle (context, cr, 0, 0, width, height);
gtk_style_context_restore (context);