diff options
author | Benjamin Otte <otte@redhat.com> | 2019-04-10 03:51:40 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2019-04-12 19:34:28 +0200 |
commit | 207c0b32b46e840a3812d2d14e2cda400995bfb4 (patch) | |
tree | c7a78a41014aeb80696e6882928156458839f255 /gtk/gtkcssprovider.c | |
parent | 35f60dc9180c2e0747affdac297a829fbae6af90 (diff) | |
download | gtk+-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.c | 6 |
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); |