summaryrefslogtreecommitdiff
path: root/tests/styleexamples.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/styleexamples.c')
-rw-r--r--tests/styleexamples.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/styleexamples.c b/tests/styleexamples.c
index a20e2d6ebd..4020b4f93b 100644
--- a/tests/styleexamples.c
+++ b/tests/styleexamples.c
@@ -218,7 +218,7 @@ draw_cb_extension (GtkWidget *widget, cairo_t *cr)
gtk_style_context_add_class (context, "notebook");
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
- gtk_style_context_add_region (context, GTK_STYLE_REGION_TAB, 0);
+ gtk_style_context_add_region (context, "tab", 0);
G_GNUC_END_IGNORE_DEPRECATIONS
gtk_style_context_set_state (context, 0);