[gtk+] notebook: don't forget to prepare the tab style context before drawing
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] notebook: don't forget to prepare the tab style context before drawing
- Date: Thu, 29 Sep 2011 05:51:05 +0000 (UTC)
commit bdfa05bc811bf78311ee986ba03115c3154d6341
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Sep 29 01:49:55 2011 -0400
notebook: don't forget to prepare the tab style context before drawing
The previous commit a9affcdd3f9c888c5e68dc76b0c5173d918bc725
accidentally removed the call to notebook_tab_prepare_style_context()
gtk/gtknotebook.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 53213a7..a6bf731 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -5266,6 +5266,7 @@ gtk_notebook_draw_tab (GtkNotebook *notebook,
context = gtk_widget_get_style_context (widget);
gtk_style_context_save (context);
+ notebook_tab_prepare_style_context (notebook, page, context, use_flags);
gtk_render_extension (context, cr,
page->allocation.x,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]