From 207c0b32b46e840a3812d2d14e2cda400995bfb4 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 10 Apr 2019 03:51:40 +0200 Subject: csssection: Redo constructors Remove the unused one and rename the old one to new_from_parser(). --- gtk/gtkcssprovider.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk/gtkcssprovider.c') 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); -- cgit v1.2.1