symboliccolor: Change prototype of function

Makes it easier to use the function in the places where it's still used.
This commit is contained in:
Benjamin Otte
2012-11-24 21:56:31 +01:00
parent 5ca35bd5dd
commit 94b80cc774
5 changed files with 11 additions and 22 deletions

View File

@ -1838,7 +1838,7 @@ parse_import (GtkCssScanner *scanner)
static gboolean
parse_color_definition (GtkCssScanner *scanner)
{
GtkCssValue *symbolic;
GtkSymbolicColor *symbolic;
char *name;
gtk_css_scanner_push_section (scanner, GTK_CSS_SECTION_COLOR_DEFINITION);
@ -1874,7 +1874,7 @@ parse_color_definition (GtkCssScanner *scanner)
if (!_gtk_css_parser_try (scanner->parser, ";", TRUE))
{
g_free (name);
_gtk_css_value_unref (symbolic);
gtk_symbolic_color_unref (symbolic);
gtk_css_provider_error_literal (scanner->provider,
scanner,
GTK_CSS_PROVIDER_ERROR,