diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-07-13 13:57:23 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-07-13 13:58:16 -0400 |
commit | d4e8a501a0f30d64db523729dd82fa92f846c1aa (patch) | |
tree | ac542ccfe79904c8867f947564667af955fe36c4 /gtk/gtktexthandle.c | |
parent | f8950bf8780423a65607b6a6983b39d90f7232d4 (diff) | |
download | gtk+-d4e8a501a0f30d64db523729dd82fa92f846c1aa.tar.gz |
GtkTextHandle: Better draw() implementation
Conceptually, text handles are boxes, whose content is a 'handle',
so draw background, frame and handle. With this, and the previous
commit, the cursor-handle theming in Adwaita now works as intended.
Diffstat (limited to 'gtk/gtktexthandle.c')
-rw-r--r-- | gtk/gtktexthandle.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtktexthandle.c b/gtk/gtktexthandle.c index ab0495513f..74023f4c4a 100644 --- a/gtk/gtktexthandle.c +++ b/gtk/gtktexthandle.c @@ -129,6 +129,8 @@ _gtk_text_handle_draw (GtkTextHandle *handle, 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); cairo_restore (cr); |