texthandle: Avoid double rendering of background/frame

gtk_render_handle() already renders background/frame itself, avoid
doing this twice.
This commit is contained in:
Carlos Garnacho 2015-06-17 15:58:55 +02:00
parent 77d429bc4d
commit 15bb9acc8a

View File

@ -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);