[gtk+/wip/cssstyle: 1/27] cssstylefuncs: Rename functions
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/cssstyle: 1/27] cssstylefuncs: Rename functions
- Date: Wed, 24 Dec 2014 02:19:27 +0000 (UTC)
commit f3c794a4d44360f1f6c7106ef5ae7a7f68ffa085
Author: Benjamin Otte <otte redhat com>
Date: Wed Oct 22 22:36:38 2014 +0200
cssstylefuncs: Rename functions
This is in preaparation for the big GtkCssComputedValues => GtkCssStyle
rename
gtk/gtkcsscustomproperty.c | 2 +-
gtk/gtkcssprovider.c | 4 ++--
gtk/gtkcssstylefuncs.c | 20 ++++++++++----------
gtk/gtkcssstylefuncsprivate.h | 6 +++---
gtk/gtkcsstypedvalue.c | 4 ++--
5 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/gtk/gtkcsscustomproperty.c b/gtk/gtkcsscustomproperty.c
index 31cfefd..d401759 100644
--- a/gtk/gtkcsscustomproperty.c
+++ b/gtk/gtkcsscustomproperty.c
@@ -75,7 +75,7 @@ gtk_css_custom_property_parse_value (GtkStyleProperty *property,
{
g_value_init (&value, gtk_css_custom_property_get_specified_type (custom->pspec));
- success = _gtk_css_style_parse_value (&value, parser);
+ success = _gtk_css_style_funcs_parse_value (&value, parser);
}
if (!success)
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 0ebe32b..aa61771 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -1727,8 +1727,8 @@ gtk_css_provider_get_style_property (GtkStyleProvider *provider,
val->section != NULL ? gtk_css_section_get_file (val->section) :
NULL,
val->value);
- found = _gtk_css_style_parse_value (value,
- scanner->parser);
+ found = _gtk_css_style_funcs_parse_value (value,
+ scanner->parser);
gtk_css_scanner_destroy (scanner);
diff --git a/gtk/gtkcssstylefuncs.c b/gtk/gtkcssstylefuncs.c
index d196550..56f5cdf 100644
--- a/gtk/gtkcssstylefuncs.c
+++ b/gtk/gtkcssstylefuncs.c
@@ -1075,8 +1075,8 @@ gtk_css_style_funcs_init (void)
* Returns: %TRUE if parsing succeeded.
**/
gboolean
-_gtk_css_style_parse_value (GValue *value,
- GtkCssParser *parser)
+_gtk_css_style_funcs_parse_value (GValue *value,
+ GtkCssParser *parser)
{
GtkStyleParseFunc func;
@@ -1111,8 +1111,8 @@ _gtk_css_style_parse_value (GValue *value,
* valid value, a random string will be printed instead.
**/
void
-_gtk_css_style_print_value (const GValue *value,
- GString *string)
+_gtk_css_style_funcs_print_value (const GValue *value,
+ GString *string)
{
GtkStylePrintFunc func;
@@ -1153,12 +1153,12 @@ _gtk_css_style_print_value (const GValue *value,
* Returns: the resulting value
**/
GtkCssValue *
-_gtk_css_style_compute_value (GtkStyleProviderPrivate *provider,
- GtkCssComputedValues *values,
- GtkCssComputedValues *parent_values,
- GType target_type,
- GtkCssValue *specified,
- GtkCssDependencies *dependencies)
+_gtk_css_style_funcs_compute_value (GtkStyleProviderPrivate *provider,
+ GtkCssComputedValues *values,
+ GtkCssComputedValues *parent_values,
+ GType target_type,
+ GtkCssValue *specified,
+ GtkCssDependencies *dependencies)
{
GtkStyleComputeFunc func;
diff --git a/gtk/gtkcssstylefuncsprivate.h b/gtk/gtkcssstylefuncsprivate.h
index df13b80..47c52a5 100644
--- a/gtk/gtkcssstylefuncsprivate.h
+++ b/gtk/gtkcssstylefuncsprivate.h
@@ -24,11 +24,11 @@
G_BEGIN_DECLS
-gboolean _gtk_css_style_parse_value (GValue *value,
+gboolean _gtk_css_style_funcs_parse_value (GValue *value,
GtkCssParser *parser);
-void _gtk_css_style_print_value (const GValue *value,
+void _gtk_css_style_funcs_print_value (const GValue *value,
GString *string);
-GtkCssValue * _gtk_css_style_compute_value (GtkStyleProviderPrivate *provider,
+GtkCssValue * _gtk_css_style_funcs_compute_value (GtkStyleProviderPrivate *provider,
GtkCssComputedValues *values,
GtkCssComputedValues *parent_values,
GType target_type,
diff --git a/gtk/gtkcsstypedvalue.c b/gtk/gtkcsstypedvalue.c
index 5471618..be24584 100644
--- a/gtk/gtkcsstypedvalue.c
+++ b/gtk/gtkcsstypedvalue.c
@@ -45,7 +45,7 @@ gtk_css_value_typed_compute (GtkCssValue *value,
{
GtkCssCustomProperty *custom = GTK_CSS_CUSTOM_PROPERTY (_gtk_css_style_property_lookup_by_id
(property_id));
- return _gtk_css_style_compute_value (provider, values, parent_values, custom->pspec->value_type, value,
dependencies);
+ return _gtk_css_style_funcs_compute_value (provider, values, parent_values, custom->pspec->value_type,
value, dependencies);
}
static gboolean
@@ -68,7 +68,7 @@ static void
gtk_css_value_typed_print (const GtkCssValue *value,
GString *string)
{
- _gtk_css_style_print_value (&value->value, string);
+ _gtk_css_style_funcs_print_value (&value->value, string);
}
static const GtkCssValueClass GTK_CSS_VALUE_TYPED = {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]