diff options
author | Benjamin Otte <otte@redhat.com> | 2016-10-19 22:46:47 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-10-27 05:07:23 +0200 |
commit | ef1ba120376c78752aa032096a5b2e1990a68ea7 (patch) | |
tree | df0611335025b35ab8717041ed7b8b960f17d5c4 /gtk/gtknotebook.c | |
parent | 1df8b1571169924e97b783692106b93a6564c8b0 (diff) | |
download | gtk+-ef1ba120376c78752aa032096a5b2e1990a68ea7.tar.gz |
notebook: Use gtk_widget_queue_draw()
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r-- | gtk/gtknotebook.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index 9e768b10b8..a15ffd8917 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -4733,8 +4733,9 @@ gtk_notebook_redraw_arrows (GtkNotebook *notebook) continue; gtk_notebook_get_arrow_rect (notebook, &rect, i); - gdk_window_invalidate_rect (gtk_widget_get_window (GTK_WIDGET (notebook)), - &rect, FALSE); + gtk_widget_queue_draw_area (GTK_WIDGET (notebook), + rect.x, rect.y, + rect.width, rect.height); } } } |