gtk: Make functions static that don't need to be non-static
Also remove the starting underscore from function names where appropriate, as those functions are static now and not exported anymore. This is part of a bunch of fixes for gcc complaining about -Wmissing-declarations.
This commit is contained in:
@ -885,11 +885,11 @@ _gtk_css_parser_read_url (GtkCssParser *parser)
|
||||
return file;
|
||||
}
|
||||
|
||||
void
|
||||
_gtk_css_parser_resync_internal (GtkCssParser *parser,
|
||||
gboolean sync_at_semicolon,
|
||||
gboolean read_sync_token,
|
||||
char terminator)
|
||||
static void
|
||||
gtk_css_parser_resync_internal (GtkCssParser *parser,
|
||||
gboolean sync_at_semicolon,
|
||||
gboolean read_sync_token,
|
||||
char terminator)
|
||||
{
|
||||
gsize len;
|
||||
|
||||
@ -984,7 +984,7 @@ _gtk_css_parser_read_value (GtkCssParser *parser)
|
||||
start = parser->data;
|
||||
|
||||
/* This needs to be done better */
|
||||
_gtk_css_parser_resync_internal (parser, TRUE, FALSE, '}');
|
||||
gtk_css_parser_resync_internal (parser, TRUE, FALSE, '}');
|
||||
|
||||
result = g_strndup (start, parser->data - start);
|
||||
if (result)
|
||||
@ -1010,5 +1010,5 @@ _gtk_css_parser_resync (GtkCssParser *parser,
|
||||
{
|
||||
g_return_if_fail (GTK_IS_CSS_PARSER (parser));
|
||||
|
||||
_gtk_css_parser_resync_internal (parser, sync_at_semicolon, TRUE, terminator);
|
||||
gtk_css_parser_resync_internal (parser, sync_at_semicolon, TRUE, terminator);
|
||||
}
|
||||
|
Reference in New Issue
Block a user