summaryrefslogtreecommitdiff
path: root/gtk/gtkcssprovider.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2019-04-10 03:51:40 +0200
committerBenjamin Otte <otte@redhat.com>2019-04-12 19:34:28 +0200
commit207c0b32b46e840a3812d2d14e2cda400995bfb4 (patch)
treec7a78a41014aeb80696e6882928156458839f255 /gtk/gtkcssprovider.c
parent35f60dc9180c2e0747affdac297a829fbae6af90 (diff)
downloadgtk+-207c0b32b46e840a3812d2d14e2cda400995bfb4.tar.gz
csssection: Redo constructors
Remove the unused one and rename the old one to new_from_parser().
Diffstat (limited to 'gtk/gtkcssprovider.c')
-rw-r--r--gtk/gtkcssprovider.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 8f99c79579..37e8338531 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -396,9 +396,9 @@ gtk_css_scanner_push_section (GtkCssScanner *scanner,
{
GtkCssSection *section;
- section = _gtk_css_section_new (scanner->section,
- section_type,
- scanner->parser);
+ section = gtk_css_section_new_for_parser (scanner->section,
+ section_type,
+ scanner->parser);
if (scanner->section)
gtk_css_section_unref (scanner->section);