[gtk+] notebook: Use gtk_widget_queue_draw()
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] notebook: Use gtk_widget_queue_draw()
- Date: Thu, 27 Oct 2016 04:01:48 +0000 (UTC)
commit ef1ba120376c78752aa032096a5b2e1990a68ea7
Author: Benjamin Otte <otte redhat com>
Date: Wed Oct 19 22:46:47 2016 +0200
notebook: Use gtk_widget_queue_draw()
gtk/gtknotebook.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 9e768b1..a15ffd8 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);
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]