[gtk/matthiasc/for-master: 4/11] cssshadowvalue: Drop the underscore
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 4/11] cssshadowvalue: Drop the underscore
- Date: Sat, 6 Feb 2021 21:17:13 +0000 (UTC)
commit 4e27de7df9b2925ca3d56fc01dc5360c95557ed0
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Feb 6 15:37:04 2021 -0500
cssshadowvalue: Drop the underscore
Rename _gtk_css_shadow_value_parse to drop the underscore.
It was the only underscore-prefixed function in this file.
gtk/gtkcssshadowvalue.c | 12 ++++++------
gtk/gtkcssshadowvalueprivate.h | 2 +-
gtk/gtkcssstylepropertyimpl.c | 4 ++--
3 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gtk/gtkcssshadowvalue.c b/gtk/gtkcssshadowvalue.c
index b7b409ca72..a691d157e2 100644
--- a/gtk/gtkcssshadowvalue.c
+++ b/gtk/gtkcssshadowvalue.c
@@ -431,9 +431,9 @@ parse_color (GtkCssParser *parser,
}
static gboolean
-_gtk_css_shadow_value_parse_one (GtkCssParser *parser,
- gboolean box_shadow_mode,
- ShadowValue *result)
+gtk_css_shadow_value_parse_one (GtkCssParser *parser,
+ gboolean box_shadow_mode,
+ ShadowValue *result)
{
GtkCssValue *values[N_VALUES] = { NULL, };
GtkCssValue *color = NULL;
@@ -479,8 +479,8 @@ fail:
#define MAX_SHADOWS 64
GtkCssValue *
-_gtk_css_shadow_value_parse (GtkCssParser *parser,
- gboolean box_shadow_mode)
+gtk_css_shadow_value_parse (GtkCssParser *parser,
+ gboolean box_shadow_mode)
{
ShadowValue shadows[MAX_SHADOWS];
int n_shadows = 0;
@@ -490,7 +490,7 @@ _gtk_css_shadow_value_parse (GtkCssParser *parser,
return gtk_css_shadow_value_new_none ();
do {
- if (_gtk_css_shadow_value_parse_one (parser, box_shadow_mode, &shadows[n_shadows]))
+ if (gtk_css_shadow_value_parse_one (parser, box_shadow_mode, &shadows[n_shadows]))
n_shadows++;
if (n_shadows > MAX_SHADOWS)
diff --git a/gtk/gtkcssshadowvalueprivate.h b/gtk/gtkcssshadowvalueprivate.h
index 3f49963b5b..fa2050e080 100644
--- a/gtk/gtkcssshadowvalueprivate.h
+++ b/gtk/gtkcssshadowvalueprivate.h
@@ -37,7 +37,7 @@ G_BEGIN_DECLS
GtkCssValue * gtk_css_shadow_value_new_none (void);
GtkCssValue * gtk_css_shadow_value_new_filter (void);
-GtkCssValue * _gtk_css_shadow_value_parse (GtkCssParser *parser,
+GtkCssValue * gtk_css_shadow_value_parse (GtkCssParser *parser,
gboolean box_shadow_mode);
GtkCssValue * _gtk_css_shadow_value_parse_filter (GtkCssParser *parser);
diff --git a/gtk/gtkcssstylepropertyimpl.c b/gtk/gtkcssstylepropertyimpl.c
index 8e5d4bf796..6df32116a8 100644
--- a/gtk/gtkcssstylepropertyimpl.c
+++ b/gtk/gtkcssstylepropertyimpl.c
@@ -512,14 +512,14 @@ static GtkCssValue *
box_shadow_value_parse (GtkCssStyleProperty *property,
GtkCssParser *parser)
{
- return _gtk_css_shadow_value_parse (parser, TRUE);
+ return gtk_css_shadow_value_parse (parser, TRUE);
}
static GtkCssValue *
shadow_value_parse (GtkCssStyleProperty *property,
GtkCssParser *parser)
{
- return _gtk_css_shadow_value_parse (parser, FALSE);
+ return gtk_css_shadow_value_parse (parser, FALSE);
}
static GtkCssValue *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]