diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2015-06-17 15:58:55 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2015-06-17 15:58:55 +0200 |
commit | 15bb9acc8ad0cb53969d402025aab64aa52972cd (patch) | |
tree | b7147b95a554a205461b3fedcaf279ef999190bc /gtk/gtktexthandle.c | |
parent | 77d429bc4debc3840ccbed9faf5616792c3e4fb5 (diff) | |
download | gtk+-15bb9acc8ad0cb53969d402025aab64aa52972cd.tar.gz |
texthandle: Avoid double rendering of background/frame
gtk_render_handle() already renders background/frame itself, avoid
doing this twice.
Diffstat (limited to 'gtk/gtktexthandle.c')
-rw-r--r-- | gtk/gtktexthandle.c | 2 |
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); |